mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +00:00
20 lines
350 B
ArmAsm
20 lines
350 B
ArmAsm
;
|
|
; Ullrich von Bassewitz, 02.10.2002
|
|
;
|
|
; Helper function for tgi functions. Pops X/Y from stack into ptr1/ptr2
|
|
;
|
|
|
|
.include "tgi-kernel.inc"
|
|
|
|
.import popptr1
|
|
.importzp ptr1, ptr2
|
|
|
|
.proc tgi_popxy
|
|
|
|
sta ptr2 ; Y
|
|
stx ptr2+1
|
|
jmp popptr1 ; X
|
|
|
|
.endproc
|
|
|