mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 15:29:46 +00:00
22a7951bde
git-svn-id: svn://svn.cc65.org/cc65/trunk@56 b7a2c559-68d2-44c3-8de9-860c34a00d81
13 lines
80 B
ArmAsm
13 lines
80 B
ArmAsm
|
|
.export _getsp
|
|
.importzp sp
|
|
|
|
.proc _getsp
|
|
|
|
ldx sp+1
|
|
lda sp
|
|
rts
|
|
|
|
.endproc
|
|
|