Learning Assembly, #5

Today I started learning about the 6507 processor, how it represents numbers, and its op codes. The 6507 uses two’s compliment to represent negative and positive numbers. I think two’s compliment explains why, in PICO-8, adding 1 to 32768 causes it to go negative. It runs out of bits and carries 1 into the sign column. Anyway, I have to try writing op codes in binary.

Leave a comment

Your email address will not be published. Required fields are marked *


Your data is processed in accordance with my privacy policy. Comments are manually approved and may take a while to appear.