1990-01-12 10:29:26 +00:00
|
|
|
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
|
|
|
.define .lar4
|
|
|
|
|
|
|
|
! $Header$
|
1985-01-18 14:30:03 +00:00
|
|
|
|
|
|
|
.lar4:
|
|
|
|
movl (sp)+,r2
|
|
|
|
movl (sp)+,r0
|
|
|
|
movl 8(r0),r1
|
|
|
|
subl2 (r0),(sp)
|
|
|
|
mull3 (sp)+,r1,r0
|
|
|
|
addl2 (sp)+,r0
|
|
|
|
addl2 r1,r0
|
|
|
|
cmpl r1,$1
|
1990-01-12 10:29:26 +00:00
|
|
|
bgtr I3
|
1985-01-18 14:30:03 +00:00
|
|
|
movzbl -(r0),-(sp)
|
|
|
|
jmp (r2)
|
1990-01-12 10:29:26 +00:00
|
|
|
I3:
|
1985-01-18 14:30:03 +00:00
|
|
|
cmpl r1,$2
|
1990-01-12 10:29:26 +00:00
|
|
|
bgtr I2
|
1985-01-18 14:30:03 +00:00
|
|
|
movzwl -(r0),-(sp)
|
|
|
|
jmp (r2)
|
1990-01-12 10:29:26 +00:00
|
|
|
I2:
|
1985-01-18 14:30:03 +00:00
|
|
|
ashl $-2,r1,r1
|
1990-01-12 10:29:26 +00:00
|
|
|
I1:
|
1985-01-18 14:30:03 +00:00
|
|
|
movl -(r0),-(sp)
|
1990-01-12 10:29:26 +00:00
|
|
|
sobgtr r1,I1
|
1985-01-18 14:30:03 +00:00
|
|
|
jmp (r2)
|