source: trunk/minix/lib/i86/em/em_rck.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: 247 bytes
Line 
1.define .rck
2.text
3
4 ! descriptor address in bx
5 ! value in ax, must be left there
6.rck:
7 cmp ax,(bx)
8 jl 2f
9 cmp ax,2(bx)
10 jg 2f
11 ret
122:
13 push ax
14ERANGE = 1
15.extern .error
16 mov ax,#ERANGE
17 call .error
18 pop ax
19 ret
Note: See TracBrowser for help on using the repository browser.