3 ms·
There is an INC A instruction on the 65C02 and 65816, so this is better if you have anything newer than the NMOS 6502: EOR #255 ; Invert INC A ; Add
by jdswain 7y ago
There is an INC A instruction on the 65C02 and 65816, so this is better if you have anything newer than the NMOS 6502:
EOR #255 ; Invert
INC A ; Add 1
It looks like the Lynx has a 65SC02 which is a 65C02 without the bit manipulation instructions, so it should have the INC A instruction.