qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
FCOM/FCOMP/FCOMPP/FICOM/FICOMP
   Summary  Timings
────────────────────────────────────────────────────────────────────────────
 
Compare
 
Syntax:  F[I]COM src
         F[I]COMP src
         FCOMPP
 
Compares the specified source to ST and sets the condition codes of the
status word according to the result. The instruction works by sub-
tracting the source operand from ST without changing either operand.
Memory operands can be 32- or 64-bit real numbers or 16- or 32-bit
integers. If no operand is specified or if two pops are specified, ST is
compared to ST(1) and the stack is popped. If one pop is specified with
an operand, the operand is compared to ST. If one of the operands is a
NAN, an invalid-operation exception is generated.
                                    -♦-