mirror of
https://github.com/cc65/cc65.git
synced 2024-11-15 11:05:56 +00:00
fix pla/pha instead of tmp1
This commit is contained in:
parent
1ca9d7e9e7
commit
480600093c
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user