test #2674
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 31.08.1998
|
||||
;
|
||||
; CC65 runtime: Store eax at (sp),y
|
||||
; CC65 runtime: Store eax at (c_sp),y
|
||||
;
|
||||
|
||||
.export steaxysp, steax0sp
|
||||
.importzp sp, sreg
|
||||
.importzp c_sp, sreg
|
||||
|
||||
steax0sp:
|
||||
ldy #0
|
||||
steaxysp:
|
||||
sta (sp),y
|
||||
sta (c_sp),y
|
||||
iny
|
||||
pha
|
||||
txa
|
||||
sta (sp),y
|
||||
sta (c_sp),y
|
||||
iny
|
||||
lda sreg
|
||||
sta (sp),y
|
||||
sta (c_sp),y
|
||||
iny
|
||||
lda sreg+1
|
||||
sta (sp),y
|
||||
sta (c_sp),y
|
||||
pla
|
||||
rts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user