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:
parent
1ca9d7e9e7
commit
480600093c
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user