ack/mach/6500/libem/lol.s

17 lines
238 B
ArmAsm
Raw Normal View History

1984-12-17 11:03:13 +00:00
.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