| UMBC CMSC 313 |
| fcom[p] | mem32 or mem64 | ; compare ST0 to operand [and pop] |
| fcom[p] | STn | ; compare ST0 to STn [and pop] |
| fcom[p] | ; compare ST0 to ST1 [and pop] | |
| fcompp | ; compare ST0 to ST1 and pop twice | |
| ficom[p] | mem16 or mem32 | ; compare ST0 to converted integer operand [and pop] |
| ftst | ; compare ST0 to 0.0 |
| StatWd | DW | ? | ; defined in the .DATA Segment |
| ; ... | |||
| fld | B4 | ||
| fld | C4 | ||
| 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 | A4 | ||
| fcomp | ST | ; pop smaller item |