mirror of
https://github.com/cc65/cc65.git
synced 2024-11-18 00:07:21 +00:00
23 lines
261 B
ArmAsm
23 lines
261 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
|
|
|
|
|
|
|
|
|
|
|