ack/mach/vax4/libem/aar4.s

14 lines
242 B
ArmAsm
Raw Normal View History

1990-01-12 10:29:26 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.define .aar4
! $Header$
1985-01-18 14:30:03 +00:00
.aar4:
movl (sp)+,r2
movl (sp)+,r0
1990-01-12 10:29:26 +00:00
movl 8(r0),r1 ! elementsize in r1
1985-01-18 14:30:03 +00:00
subl3 (r0),(sp)+,r0
mull2 r1,r0
addl2 (sp)+,r0
jmp (r2)