1
0
mirror of https://github.com/cc65/cc65.git synced 2026-03-10 17:21:49 +00:00
Files
cc65/libsrc/runtime/decsp8.s
2025-06-23 17:09:06 +02:00

28 lines
324 B
ArmAsm

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