source: trunk/minix/lib/i386/em/em_iaar.s@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 311 bytes
Line 
1.sect .text; .sect .rom; .sect .data; .sect .bss
2.sect .text
3.define .iaar
4
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
Note: See TracBrowser for help on using the repository browser.