OneLoneCoder / olcNES

NES Emulator, and Tutorial Video Code
1.36k stars 229 forks source link

Part #2: possibly incorrect return value for uint8_t CMP() #53

Closed michelelorusso05 closed 1 year ago

michelelorusso05 commented 1 year ago

CMP returns 1, whereas CPX and CPY, that do the exact same thing on other registers, correctly return 0. Is that a mistake or there is some meaning behind it?

michelelorusso05 commented 1 year ago

Nevermind, figured it out.