Assembly Language Help (alang.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.
Coprocessor Arithmetic Instructions
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Select an instruction for more information.
 
     Instruction      Description
 
     FADD/FADDP       Add/add and pop
     FIADD            Integer add
     FSUB/FSUBP       Subtract/subtract and pop
     FSUBR/FSUBRP     Subtract/subtract and pop with reversed operands
     FISUB            Integer subtract
     FISUBR           Integer subtract/subtract with reversed operands
     FMUL/FMULP       Multiply/multiply and pop
     FIMUL            Integer multiply
     FDIV/FDIVP       Divide/divide and pop
     FDIVR/FDIVRP     Divide/divide and pop with reversed operands
     FIDIV/FIDIVR     Integer divide/integer divide with reversed
                      operands
 
     FABS             Calculate absolute value
     FCHS             Change sign
     FRNDINT          Round to integer
     FSQRT            Calculate square root
     FSCALE           Scale top of stack by power of 2
     FXTRACT          Separate exponent and mantissa
     FPREM            Calculate partial remainder
     FPREM1           Calculate partial remainder in IEEE format
                                    -♦-