mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
13 lines
80 B
ArmAsm
13 lines
80 B
ArmAsm
|
|
||
|
.export _getsp
|
||
|
.importzp sp
|
||
|
|
||
|
.proc _getsp
|
||
|
|
||
|
ldx sp+1
|
||
|
lda sp
|
||
|
rts
|
||
|
|
||
|
.endproc
|
||
|
|