mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +00:00
17 lines
202 B
ArmAsm
17 lines
202 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 31.08.1998
|
||
|
;
|
||
|
; CC65 runtime: Load a unsigned from offset in stack
|
||
|
;
|
||
|
|
||
|
.export ldausp, ldauysp
|
||
|
.importzp sp
|
||
|
|
||
|
ldausp: ldy #0
|
||
|
ldauysp:
|
||
|
ldx #0
|
||
|
lda (sp),y
|
||
|
rts
|
||
|
|
||
|
|