1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-09 06:29:38 +00:00
cc65/samples/getsp.s

13 lines
131 B
ArmAsm
Raw Permalink Normal View History

.export _getsp
.importzp sp
.proc _getsp
ldx sp+1
lda sp
rts
.endproc