mirror of
https://github.com/cc65/cc65.git
synced 2024-11-05 08:05:51 +00:00
20 lines
379 B
ArmAsm
20 lines
379 B
ArmAsm
;
|
|
; 2002-10-02, Ullrich von Bassewitz
|
|
; 2018-05-20, Christian Kruger
|
|
;
|
|
; Helper function for TGI functions. Pops X/Y from arguments into ptr1/ptr2.
|
|
;
|
|
|
|
.include "tgi-kernel.inc"
|
|
|
|
.import popptr1
|
|
.importzp ptr2
|
|
|
|
.proc tgi_popxy
|
|
|
|
sta ptr2 ; Y
|
|
stx ptr2+1
|
|
jmp popptr1 ; X
|
|
|
|
.endproc
|