source:
trunk/minix/lib/i386/em/em_csa4.s@
10
Last change on this file since 10 was 9, checked in by , 14 years ago | |
---|---|
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 |
17 | 1: |
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 |
26 | 2: |
27 | jmp ebx |
Note:
See TracBrowser
for help on using the repository browser.