Intel 80C186XL, 80C188XL Math Coprocessing, 2.80C187 Arithmetic Instructions, Addition, Division

Models: 80C186XL 80C188XL

1 405
Download 405 pages 42.62 Kb
Page 289
Image 289
Table 11-2. 80C187 Arithmetic Instructions

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.

Table 11-2. 80C187 Arithmetic Instructions

 

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

 

 

 

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)

 

 

11-4

Page 289
Image 289
Intel 80C186XL, 80C188XL Math Coprocessing, 2.80C187 Arithmetic Instructions, Addition, Division, Other Operations