| UMBC CMSC 211 |
| fcom[p] | mem32 or mem64 | ; compare ST to operand [and pop] |
| fcom[p] | ST(n) | ; compare ST to ST(n) [and pop] |
| fcom[p] | ; compare ST to ST(1) [and pop] | |
| fcompp | ; compare ST to ST(1) and pop twice | |
| ficom[p] | mem16 or mem32 | ; compare ST to converted integer operand [and pop] |
| ftst | ; compare ST to 0.0 |
| StatWd | DW | ? | ; defined in the .DATA Segment |
| ; ... | |||
| fld | B | ||
| fld | C | ||
| fcom | |||
| fstsw | StatWd | ; Store status word in StatWd | |
| mov | ax, StatWd | ||
| sahf | Transfer ah into flags register | ||
| jbe | OrderOK | ; Note unsigned jump | |
| fxch | |||
| OrderOK | |||
| fstp | A | ||
| fcomp | ST | ; pop smaller item |