ack/mach/6500/libem/lxa1.s
1984-12-17 11:03:13 +00:00

16 lines
257 B
ArmAsm

.define Lxa1
! This subroutine loads the address of AB zero static levels back.
Lxa1:
ldy LB+1 ! load address of localbase (highbyte)
ldx LB ! load address of localbase (lowbyte)
inx
inx ! argumentbase = localbase + 2
bne 1f
iny
1: tya
rts