. service tells you which device it couldn't stat
[minix3.git] / lib / i386 / em / em_dvu.s
blob5f5a71784fdf20cdadb6b55d4aa1355871f0b16f
1 .sect .text; .sect .rom; .sect .data; .sect .bss
2 .define .dvu
4 ! #bytes in eax
5 .sect .text
6 .dvu:
7 pop ebx ! return address
8 cmp eax,4
9 jne 1f
10 pop eax
11 xor edx,edx
12 pop ecx
13 div ecx
14 push eax
15 jmp ebx
17 .extern EODDZ
18 .extern .trp
19 mov eax,EODDZ
20 push ebx
21 jmp .trp