mirror of
https://github.com/cc65/cc65.git
synced 2024-11-18 15:05:14 +00:00
fix cleanup of stack
This commit is contained in:
parent
f2807df4c2
commit
d68307ee52
@ -164,13 +164,14 @@ copend2:ldx tmp4
|
|||||||
clc
|
clc
|
||||||
adc sspc
|
adc sspc
|
||||||
sta sp
|
sta sp
|
||||||
bcc L2
|
lda sp+1
|
||||||
inc sp+1
|
adc sspc+1
|
||||||
L2: pla
|
sta sp+1
|
||||||
tay
|
|
||||||
|
|
||||||
; handle status
|
; handle status
|
||||||
|
|
||||||
|
pla
|
||||||
|
tay
|
||||||
bmi cioerr
|
bmi cioerr
|
||||||
lda #0
|
lda #0
|
||||||
rts
|
rts
|
||||||
|
Loading…
Reference in New Issue
Block a user