mirror of
https://github.com/cc65/cc65.git
synced 2024-11-18 00:07:21 +00:00
18 lines
205 B
ArmAsm
18 lines
205 B
ArmAsm
|
|
||
|
;
|
||
|
; Maciej 'YTM/Alliance' Witkowiak
|
||
|
;
|
||
|
; 29.1.00
|
||
|
|
||
|
.export gettrse
|
||
|
.importzp ptr4
|
||
|
gettrse:
|
||
|
sta ptr4
|
||
|
stx ptr4+1
|
||
|
ldy #1
|
||
|
lda (ptr4),y
|
||
|
tax
|
||
|
dey
|
||
|
lda (ptr4),y
|
||
|
rts
|