1984-12-14 15:41:14 +00:00
|
|
|
.define .lxa
|
1985-06-04 10:57:42 +00:00
|
|
|
.sect .text
|
|
|
|
.sect .rom
|
|
|
|
.sect .data
|
|
|
|
.sect .bss
|
1984-12-14 15:41:14 +00:00
|
|
|
.extern .lxa
|
1985-07-18 14:52:56 +00:00
|
|
|
.sect .text
|
1984-12-14 15:41:14 +00:00
|
|
|
.lxa:
|
|
|
|
! #levels (>= 0) on stack
|
|
|
|
|
|
|
|
move.l (sp)+,a0 ! return address
|
|
|
|
move.w (sp)+,d2
|
|
|
|
move.l a0,-(sp)
|
|
|
|
move.l a6,a0
|
|
|
|
1:
|
|
|
|
move.l a0,-(sp)
|
|
|
|
jsr .lpb
|
|
|
|
sub #1,d2
|
|
|
|
blt 2f
|
|
|
|
move.l (a0),a0
|
|
|
|
bra 1b
|
|
|
|
2:
|
|
|
|
rts
|