ack/mach/i86/libem/iaar.s
1985-02-07 15:33:13 +00:00

16 lines
249 B
ArmAsm

.define .iaar
.iaar:
! $Header$
pop bx
pop dx
cmp dx,2
jne .unknown
pop si ! descriptor address
pop ax ! index
pop di ! array base
sub ax,(si)
mul 4(si)
add di,ax
jmp bx