. service tells you which device it couldn't stat
[minix3.git] / lib / i386 / em / em_rck.s
blobe1a6669e46b239164b2246e82c476fb762b5e525
1 .sect .text; .sect .rom; .sect .data; .sect .bss
2 .sect .text
3 .define .rck
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
14 push eax
15 .extern ERANGE
16 .extern .error
17 mov eax,ERANGE
18 call .error
19 pop eax
20 ret