mirror of
https://github.com/cc65/cc65.git
synced 2024-10-20 08:24:29 +00:00
1cdb90926a
git-svn-id: svn://svn.cc65.org/cc65/trunk@2146 b7a2c559-68d2-44c3-8de9-860c34a00d81
25 lines
322 B
ArmAsm
25 lines
322 B
ArmAsm
;
|
|
; Ullrich von Bassewitz, 2003-05-04
|
|
;
|
|
; CC65 runtime: Increment the stackpointer by 7
|
|
;
|
|
|
|
.export incsp7
|
|
.importzp sp
|
|
|
|
.proc incsp7
|
|
|
|
lda sp
|
|
clc
|
|
adc #7
|
|
sta sp
|
|
bcs @L1
|
|
rts
|
|
|
|
@L1: inc sp+1
|
|
rts
|
|
|
|
.endproc
|
|
|
|
|