Minor math optimizations

This commit is contained in:
IrgendwerA8
2019-02-28 17:30:34 +01:00
committed by Oliver Schmidt
parent 0ea78be056
commit cc6559c3f6
4 changed files with 16 additions and 10 deletions

View File

@@ -34,19 +34,19 @@ L0: asl ptr1
rol a
rol sreg+1
pha
tax
cmp ptr3
lda sreg+1
sbc ptr3+1
bcc L1
sta sreg+1
pla
txa
sbc ptr3
pha
tax
inc ptr1
L1: pla
L1: txa
dey
bne L0
sta sreg