fix cleanup of stack

This commit is contained in:
Christian Groessler 2013-07-24 10:24:47 +02:00
parent f2807df4c2
commit d68307ee52

View file

@ -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