source:
trunk/minix/lib/i86/em/em_csb2.s@
16
Last change on this file since 16 was 9, checked in by , 14 years ago | |
---|---|
File size: 318 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | .define .csb2 |
2 | ||
3 | .text | |
4 | .csb2: | |
5 | !bx, descriptor address | |
6 | !ax, index | |
7 | mov dx,(bx) | |
8 | mov cx,2(bx) | |
9 | 1: | |
10 | add bx,#4 | |
11 | dec cx | |
12 | jl 4f | |
13 | cmp ax,(bx) | |
14 | jne 1b | |
15 | mov bx,2(bx) | |
16 | 2: | |
17 | test bx,bx | |
18 | jnz 3f | |
19 | ECASE = 20 | |
20 | .extern .fat | |
21 | mov ax,#ECASE | |
22 | push ax | |
23 | jmp .fat | |
24 | 3: | |
25 | jmp (bx) | |
26 | 4: | |
27 | mov bx,dx | |
28 | jmp 2b |
Note:
See TracBrowser
for help on using the repository browser.