mirror of
https://github.com/cc65/cc65.git
synced 2024-12-24 11:31:31 +00:00
23 lines
253 B
ArmAsm
23 lines
253 B
ArmAsm
;
|
|
; Ullrich von Bassewitz, 25.10.2000
|
|
;
|
|
; CC65 runtime: Increment the stackpointer by 1
|
|
;
|
|
|
|
.export incsp1
|
|
.importzp sp
|
|
|
|
.proc incsp1
|
|
|
|
inc sp
|
|
bne @L1
|
|
inc sp+1
|
|
@L1: rts
|
|
|
|
.endproc
|
|
|
|
|
|
|
|
|
|
|