source:
trunk/minix/lib/i386/em/em_csb4.s@
11
Last change on this file since 11 was 9, checked in by , 14 years ago | |
---|---|
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) |
10 | 1: |
11 | add ebx,8 |
12 | dec ecx |
13 | jl 4f |
14 | cmp eax,(ebx) |
15 | jne 1b |
16 | mov ebx,4(ebx) |
17 | 2: |
18 | test ebx,ebx |
19 | jnz 3f |
20 | .extern ECASE |
21 | .extern .fat |
22 | mov eax,ECASE |
23 | push eax |
24 | jmp .fat |
25 | 3: |
26 | jmp ebx |
27 | 4: |
28 | mov ebx,edx |
29 | jmp 2b |
Note:
See TracBrowser
for help on using the repository browser.