source: trunk/minix/lib/i386/em/em_csa4.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: 435 bytes
Line 
1.sect .text; .sect .rom; .sect .data; .sect .bss
2.define .csa4
3
4.sect .text
5.csa4:
6 ! ebx, descriptor address
7 ! eax, index
8 mov edx,(ebx) ! default
9 sub eax,4(ebx)
10 cmp eax,8(ebx)
11 ja 1f
12 sal eax,2
13 add ebx,eax
14 mov ebx,12(ebx)
15 test ebx,ebx
16 jnz 2f
171:
18 mov ebx,edx
19 test ebx,ebx
20 jnz 2f
21.extern ECASE
22.extern .fat
23 mov eax,ECASE
24 push eax
25 jmp .fat
262:
27 jmp ebx
Note: See TracBrowser for help on using the repository browser.