ack/mach/i86/libem/iaar.s

18 lines
308 B
ArmAsm
Raw Normal View History

1987-01-08 10:13:48 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss
.sect .text
1985-02-07 15:33:13 +00:00
.define .iaar
.iaar:
pop bx
pop dx
cmp dx,2
1987-01-08 10:13:48 +00:00
.extern .unknown
1985-02-07 15:33:13 +00:00
jne .unknown
pop si ! descriptor address
pop ax ! index
pop di ! array base
sub ax,(si)
mul 4(si)
add di,ax
jmp bx