Files
cc65/libsrc/runtime/staxsp.s
2025-06-04 02:06:40 +00:00

21 lines
295 B
ArmAsm

;
; Ullrich von Bassewitz, 31.08.1998
;
; CC65 runtime: Store ax at (spc),y
;
.export staxysp, stax0sp
.importzp spc
stax0sp:
ldy #0
staxysp:
sta (spc),y
iny
pha
txa
sta (spc),y
pla
rts