ack/mach/6500/libem/lxa1.s
1987-01-30 18:41:42 +00:00

21 lines
315 B
ArmAsm

.define Lxa1
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
! 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