test #2674
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
;
|
||||
.export pushl0, push0ax, pusheax
|
||||
.import decsp4
|
||||
.importzp sp, sreg
|
||||
.importzp c_sp, sreg
|
||||
|
||||
.macpack cpu
|
||||
|
||||
@@ -31,19 +31,19 @@ pusheax:
|
||||
jsr decsp4
|
||||
ldy #3
|
||||
lda sreg+1
|
||||
sta (sp),y
|
||||
sta (c_sp),y
|
||||
dey
|
||||
lda sreg
|
||||
sta (sp),y
|
||||
sta (c_sp),y
|
||||
dey
|
||||
txa
|
||||
sta (sp),y
|
||||
sta (c_sp),y
|
||||
pla
|
||||
.if (.cpu .bitand ::CPU_ISET_65SC02)
|
||||
sta (sp)
|
||||
sta (c_sp)
|
||||
.else
|
||||
dey
|
||||
sta (sp),y
|
||||
sta (c_sp),y
|
||||
.endif
|
||||
rts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user