source: trunk/minix/lib/i386/em/em_csb4.s@ 10

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

Minix 3.1.2a

File size: 391 bytes
Line 
1.sect .text; .sect .rom; .sect .data; .sect .bss
2.define .csb4
3
4.sect .text
5.csb4:
6 !ebx, descriptor address
7 !eax, index
8 mov edx,(ebx)
9 mov ecx,4(ebx)
101:
11 add ebx,8
12 dec ecx
13 jl 4f
14 cmp eax,(ebx)
15 jne 1b
16 mov ebx,4(ebx)
172:
18 test ebx,ebx
19 jnz 3f
20.extern ECASE
21.extern .fat
22 mov eax,ECASE
23 push eax
24 jmp .fat
253:
26 jmp ebx
274:
28 mov ebx,edx
29 jmp 2b
Note: See TracBrowser for help on using the repository browser.