mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
1f820d0ae8
-104 bytes, -1% cycles
15 lines
267 B
ArmAsm
15 lines
267 B
ArmAsm
;
|
|
; Colin Leroy-Mira, 2024
|
|
;
|
|
; CC65 runtime: Push ptr1 to stack.
|
|
; A/X destroyed (set to ptr1)
|
|
|
|
.export pushptr1
|
|
.import pushax
|
|
.importzp ptr1
|
|
|
|
pushptr1:
|
|
lda ptr1
|
|
ldx ptr1+1
|
|
jmp pushax
|