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

24 lines
276 B
ArmAsm

;
; Ullrich von Bassewitz, 25.10.2000
;
; CC65 runtime: Decrement the stackpointer by 1
;
.export decsp1
.importzp spc
.proc decsp1
ldy spc
bne @L1
dec spc+1
@L1: dec spc
rts
.endproc