Intel 80C188EC User Manual page 398

Hide thumbs Also See for 80C188EC:
Table of Contents

Advertisement

14.3.1.3
Comparison Instructions
Each comparison instruction (see Table 14-3) analyzes the stack top element, often in relationship
to another operand. Then it reports the result in the Status Word condition code. The basic oper-
ations are compare, test (compare with zero) and examine (report tag, sign and normalization).
14.3.1.4
Transcendental Instructions
Transcendental instructions (see Table 14-4) perform the core calculations for common trigono-
metric, hyperbolic, inverse hyperbolic, logarithmic and exponential functions. Use prologue code
to reduce arguments to a range accepted by the instruction. Use epilogue code to adjust the result
to the range of the original arguments. The transcendentals operate on the top one or two stack
elements and return their results to the stack.
Table 14-4. 80C187 Transcendental Instructions
Table 14-3. 80C187 Comparison Instructions
FCOM
Compare real
FCOMP
Compare real and pop
FCOMPP
Compare real and pop twice
FICOM
Integer compare
FICOMP
Integer compare and pop
FTST
Test
FXAM
Examine
FUCOM
Unordered compare
FUCOMP
Unordered compare and pop
FUCOMPP
Unordered compare and pop twice
FPTAN
Partial tangent
FPATAN
Partial arctangent
F2XM1
2
– 1
X
FYL2X
Y log
X
2
FYL2XP1
Y log
(X+1)
2
FCOS
Cosine
FSIN
Sine
FSINCOS
Sine and Cosine
MATH COPROCESSING
14-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

80c186ec

Table of Contents