source: trunk/minix/lib/i386/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: 314 bytes
RevLine 
[9]1.sect .text; .sect .rom; .sect .data; .sect .bss
2.sect .text
3.define .rck
4
5 ! descriptor address in ebx
6 ! value in eax, must be left there
7.rck:
8 cmp eax,(ebx)
9 jl 2f
10 cmp eax,4(ebx)
11 jg 2f
12 ret
132:
14 push eax
15.extern ERANGE
16.extern .error
17 mov eax,ERANGE
18 call .error
19 pop eax
20 ret
Note: See TracBrowser for help on using the repository browser.