. service tells you which device it couldn't stat
[minix3.git] / lib / i386 / em / em_cmf8.s
blob00a15db7dd8b3c75283c36afb9a3b546c38f30b9
1 .sect .text; .sect .rom; .sect .data; .sect .bss
2 .define .cmf8
4 .sect .text
5 .cmf8:
6 mov bx,sp
7 xor cx,cx
8 fldd 12(bx)
9 fldd 4(bx)
10 fcompp ! compare and pop operands
11 fstsw ax
12 wait
13 sahf
14 je 1f
15 jb 2f
16 dec cx
17 jmp 1f
19 inc cx
21 mov ax,cx
22 ret