ack/mach/6500/libem/lxa1.s

21 lines
315 B
ArmAsm
Raw Normal View History

1984-12-17 11:03:13 +00:00
.define Lxa1
1987-01-30 18:41:42 +00:00
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
1984-12-17 11:03:13 +00:00
! 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