1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-22 12:30:41 +00:00

fix pla/pha instead of tmp1

This commit is contained in:
jede 2023-05-25 18:09:03 +02:00
parent 1ca9d7e9e7
commit 480600093c
2 changed files with 4 additions and 4 deletions

View File

@ -33,11 +33,11 @@
sec
lda PTR_READ_DEST
sbc ptr2
sta tmp1
pha
lda PTR_READ_DEST+1
sbc ptr2+1
tax
lda tmp1
pla
rts
.endproc

View File

@ -47,11 +47,11 @@ next:
sec
lda PTR_READ_DEST
sbc ptr1
sta tmp1
pha
lda PTR_READ_DEST+1
sbc ptr1+1
tax
lda tmp1
pla
rts