17 lines
238 B
ArmAsm
17 lines
238 B
ArmAsm
|
.define Lol
|
||
|
|
||
|
! This subroutine loads a local in registerpair AX which
|
||
|
! offset from the localbase is to big.
|
||
|
|
||
|
|
||
|
Lol:
|
||
|
jsr Locaddr ! get the address of local
|
||
|
ldy #0
|
||
|
lda (ADDR),y ! get lowbyte
|
||
|
tax
|
||
|
iny
|
||
|
lda (ADDR),y ! get highbyte
|
||
|
rts
|
||
|
|
||
|
|