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_cii.s
blob
0ad7ce302d1a4a9768606bdbfc3b3b6ca535080b
1
.sect .text; .sect .rom; .sect .data; .sect .bss
2
.define .cii
3
4
.sect .text
5
.cii:
6
pop ebx
!
return address
7
!
pop ecx
,
dest. size
8
!
pop edx
,
src. size
9
!
eax is source
10
cmp
edx
,
1
11
jne
2
f
12
movsxb eax
,
al
13
mov edx
,
4
14
jmp
1
f
15
2
:
16
cmp
edx
,
2
17
jne
1
f
18
cwde
!
convert from
2
to
4
bytes
19
mov edx
,
4
20
1
:
21
cmp
edx
,
ecx
22
jne
9
f
23
cmp
edx
,
4
24
jne
9
f
25
jmp ebx
26
9
:
27
.extern EILLINS
28
.extern .fat
29
mov eax
,
EILLINS
30
push eax
31
jmp
.fat