. service tells you which device it couldn't stat
[minix3.git] / lib / i386 / em / em_iaar.s
blobb74dc3fa4644b41be413e622791b9846e7de4913
1 .sect .text; .sect .rom; .sect .data; .sect .bss
2 .sect .text
3 .define .iaar
5 .iaar:
6 pop ecx
7 pop edx
8 cmp edx,4
9 .extern .unknown
10 jne .unknown
11 pop ebx ! descriptor address
12 pop eax ! index
13 sub eax,(ebx)
14 mul 8(ebx)
15 pop ebx ! array base
16 add ebx,eax
17 push ecx
18 ret