source: trunk/minix/lib/i86/em/em_csb2.s@ 10

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

Minix 3.1.2a

File size: 318 bytes
Line 
1.define .csb2
2
3.text
4.csb2:
5 !bx, descriptor address
6 !ax, index
7 mov dx,(bx)
8 mov cx,2(bx)
91:
10 add bx,#4
11 dec cx
12 jl 4f
13 cmp ax,(bx)
14 jne 1b
15 mov bx,2(bx)
162:
17 test bx,bx
18 jnz 3f
19ECASE = 20
20.extern .fat
21 mov ax,#ECASE
22 push ax
23 jmp .fat
243:
25 jmp (bx)
264:
27 mov bx,dx
28 jmp 2b
Note: See TracBrowser for help on using the repository browser.