mirror of
https://github.com/cc65/cc65.git
synced 2024-11-03 10:07:02 +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
|