source: trunk/minix/lib/i86/em/em_csa2.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: 358 bytes
Line 
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
161:
17 mov bx,dx
18 test bx,bx
19 jnz 2f
20ECASE = 20
21.extern .fat
22 mov ax,#ECASE
23 push ax
24 jmp .fat
252:
26 jmp (bx)
Note: See TracBrowser for help on using the repository browser.