source:
trunk/minix/lib/i386/em/em_cmf4.s@
10
Last change on this file since 10 was 9, checked in by , 14 years ago | |
---|---|
File size: 249 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | .sect .text; .sect .rom; .sect .data; .sect .bss |
2 | .define .cmf4 | |
3 | ||
4 | .sect .text | |
5 | .cmf4: | |
6 | mov bx,sp | |
7 | xor cx,cx | |
8 | flds 8(bx) | |
9 | flds 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 | |
18 | 2: | |
19 | inc cx | |
20 | 1: | |
21 | mov ax,cx | |
22 | ret |
Note:
See TracBrowser
for help on using the repository browser.