mirror of
https://github.com/cc65/cc65.git
synced 2025-03-28 06:35:59 +00:00
fixed incorrect way of temporary storing parameter
git-svn-id: svn://svn.cc65.org/cc65/trunk@788 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
36131c00d0
commit
66bcf9ac4e
@ -26,9 +26,14 @@ dio_secnum: .res 2
|
|||||||
stx dio_secnum
|
stx dio_secnum
|
||||||
|
|
||||||
jsr popax ; get 3rd parameter
|
jsr popax ; get 3rd parameter
|
||||||
|
pha ; save it
|
||||||
|
txa
|
||||||
|
pha
|
||||||
jsr pushax ; put it back
|
jsr pushax ; put it back
|
||||||
|
pla ; restore it
|
||||||
|
sta ptr1+1
|
||||||
|
pla
|
||||||
sta ptr1
|
sta ptr1
|
||||||
stx ptr1+1
|
|
||||||
ldy #sst_driveno
|
ldy #sst_driveno
|
||||||
lda (ptr1),y
|
lda (ptr1),y
|
||||||
clc
|
clc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user