Code: Select all
SED
CMP #$0A
ADC #$30
CLDI am pretty sure (on the PET anyway) that this needs to be performed in between SEI / CLI so that when the jiffy clock IRQ strikes, we don't have a problem with the processor being in decimal mode.
Code: Select all
SED
CMP #$0A
ADC #$30
CLD