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