You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
196 B
ArmAsm

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