1
0
mirror of https://github.com/cc65/cc65.git synced 2026-03-11 08:41:58 +00:00
Files
cc65/libsrc/runtime/staxsp.s
2025-06-04 06:37:59 +00:00

21 lines
299 B
ArmAsm

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