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.
FDIV/FDIVP/FIDIV
◄Summary► ◄Timings► ◄Example►
────────────────────────────────────────────────────────────────────────────
Divide
Syntax: FDIV dest,src
Divides the destination by the source, and returns the quotient in the
destination. If two register operands are specified, one must be ST. If
a memory operand is specified, the quotient 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 divided by ST(1) and the
stack is popped, returning the result in ST. For FDIVP, the source must
be ST; the quotient is returned in the destination register and ST is
popped.
-♦-