1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-10 03:30:05 +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 sec
lda PTR_READ_DEST lda PTR_READ_DEST
sbc ptr2 sbc ptr2
sta tmp1 pha
lda PTR_READ_DEST+1 lda PTR_READ_DEST+1
sbc ptr2+1 sbc ptr2+1
tax tax
lda tmp1 pla
rts rts
.endproc .endproc

View File

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