C187 Arithmetic Instructions - Intel 80C186XL User Manual

Intel microprocessor user's manual
Table of Contents

Advertisement

MATH COPROCESSING
Available data types include temporary real, long real, short real, short integer and word integer.
The 80C187 performs automatic type conversion to temporary real.
Addition
FADD
Add real
FADDP
Add real and pop
FIADD
Integer add
Subtraction
FSUB
Subtract real
FSUBP
Subtract real and pop
FISUB
Integer subtract
FSUBR
Subtract real reversed
FSUBRP
Subtract real reversed and pop
FISUBR
Integer subtract reversed
Multiplication
FMUL
Multiply real
FMULP
Multiply real and pop
FIMUL
Integer multiply
11-4
Table 11-2. 80C187 Arithmetic Instructions
Division
FDIV
Divide real
FDIVP
Divide real and pop
FIDIV
Integer divide
FDIVR
Divide real reversed
FDIVRP
Divide real reversed and pop
FIDIVR
Integer divide reversed
Other Operations
FSQRT
Square root
FSCALE
Scale
FPREM
Partial remainder
FRNDINT
Round to integer
FXTRACT
Extract exponent and significand
FABS
Absolute value
FCHS
Change sign
FPREMI
Partial remainder (IEEE)

Advertisement

Table of Contents
loading

This manual is also suitable for:

80c188xl

Table of Contents