mirror of
https://github.com/cc65/cc65.git
synced 2024-08-16 12:29:03 +00:00
23 lines
211 B
ArmAsm
23 lines
211 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
|
|
|
|
|
|
|
|
|
|
|