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_rmi.s
blob
775abbdd796f3639b3bfc5eb4e702cda484707bf
1
.sect .text; .sect .rom; .sect .data; .sect .bss
2
.sect .text
3
.define .rmi
4
5
!
#bytes in eax
6
.rmi:
7
pop ebx
!
return address
8
cmp
eax
,
4
9
jne
1
f
10
pop eax
11
cwd
12
pop ecx
13
idiv ecx
14
push edx
15
jmp ebx
16
1
:
17
.extern EODDZ
18
.extern .trp
19
mov eax
,
EODDZ
20
push ebx
21
jmp
.trp