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