source: trunk/minix/lib/i86/em/em_csa4.s@ 20

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

Minix 3.1.2a

File size: 494 bytes
RevLine 
[9]1.sect .text; .sect .rom; .sect .data; .sect .bss
2.define .csa4
3
4.sect .text
5.csa4:
6 ! bx, descriptor address
7 ! ax, dx: index
8 mov cx,(bx) ! default
9 sub ax,2(bx)
10 ! ignore high order word; if non-zero, the
11 ! case descriptor would not fit anyway
12 cmp ax,6(bx)
13 ja 1f
142:
15 sal ax,#1
16 add bx,ax
17 mov bx,10(bx)
18 test bx,bx
19 jnz 2f
201:
21 mov bx,cx
22 test bx,bx
23 jnz 2f
24ECASE = 20
25.extern .fat
26 mov ax,#ECASE
27 push ax
28 jmp .fat
292:
30 jmp (bx)
Note: See TracBrowser for help on using the repository browser.