pettil
pettil copied to clipboard
Slightly improved paday ?
If I understand correctly what's going on, we should be able to save a byte and a couple of cycles here:
paday
sec ; A+1 = offset to be added to IP
adc pip
bcs paday01
cmp #$FF
adc #0 ; (don't allow xxFF to happen)
paday01
tay
lda #0
adc pip+1
rts