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

28 lines
324 B
ArmAsm

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