ack/mach/i86/libem/iaar.s

16 lines
249 B
ArmAsm
Raw Normal View History

1985-02-07 15:33:13 +00:00
.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