repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
. service tells you which device it couldn't stat
[minix3.git]
/
lib
/
i386
/
em
/
em_rck.s
blob
e1a6669e46b239164b2246e82c476fb762b5e525
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
2
f
10
cmp
eax
,
4
(
ebx
)
11
jg
2
f
12
ret
13
2
:
14
push eax
15
.extern ERANGE
16
.extern .error
17
mov eax
,
ERANGE
18
call
.error
19
pop eax
20
ret