mirror of
https://github.com/cc65/cc65.git
synced 2024-10-30 12:28:25 +00:00
18 lines
243 B
ArmAsm
18 lines
243 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
|