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

26 lines
322 B
ArmAsm

;
; Ullrich von Bassewitz, 25.10.2000
;
; CC65 runtime: Decrement the stackpointer by 7
;
.export decsp7
.importzp c_sp
.proc decsp7
lda c_sp
sec
sbc #7
sta c_sp
bcc @L1
rts
@L1: dec c_sp+1
rts
.endproc