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.
FSUB/FSUBP/FISUB
◄Summary► ◄Timings► ◄Example►
────────────────────────────────────────────────────────────────────────────
Subtract
Syntax: FSUB dest,src
Subtracts the source from the destination and returns the difference in
the destination. If two register operands are specified, one must be ST.
If a memory operand is specified, the result replaces the value in ST.
Memory operands can be 32- or 64-bit real numbers or 16- or 32-bit
integers. If no operand is specified, ST is subtracted from ST(1) and
the stack is popped, returning the difference in ST. For FSUBP, the
source must be ST; the difference (destination minus source) is returned
in the destination register and ST is popped.
-♦-