651
Double-precision Floating-point Instructions (CS1-H, CJ1-H, CJ1M, or CS1D Only) Section 3-16
3-16 Double-precision Floating-point Instructions (CS1-H, CJ1-
H, CJ1M, or CS1D Only)
The Double-precision Floating-point Instructions convert data and perform
floating-point arithmetic operations on double-precision floating-point data.
The CS1-H/CJ1-H CPU Units support the following 20 instructions.
Data Format Floating-point data expresses real numbers using a sign, exponent, and man-
tissa. When data is expressed in floating-point format, the following formula
applies.
Real number = (–1)
s
2
e–1,023
(1.f)
s: Sign
e: Exponent
f: Mantissa
The floating-point data format conforms to the IEEE754 standards. Data is
expressed in 32 bits, as follows:
Instruction Mnemonic Function code Page
DOUBLE FLOATING TO 16-BIT FIXD 841 657
DOUBLE FLOATING TO 32-BIT FIXLD 842 658
16-BIT TO DOUBLE FLOATING DBL 843 660
32-BIT TO DOUBLE FLOATING DBLL 844 661
DOUBLE FLOATING-POINT ADD +D 845 663
DOUBLE FLOATING-POINT SUBTRACT –D 846 665
DOUBLE FLOATING-POINT MULTIPLY *D847 667
DOUBLE FLOATING-POINT DIVIDE /D 848 669
DOUBLE DEGREES TO RADIANS RADD 849 671
DOUBLE RADIANS TO DEGREES DEGD 850 673
DOUBLE SINE SIND 851 674
DOUBLE COSINE COSD 852 676
DOUBLE TANGENT TAND 853 678
DOUBLE ARC SINE ASIND 854 680
DOUBLE ARC COSINE ACOSD 855 682
DOUBLE ARC TANGENT ATAND 856 684
DOUBLE SQUARE ROOT SQRTD 857 686
DOUBLE EXPONENT EXPD 858 688
DOUBLE LOGARITHM LOGD 859 690
DOUBLE EXPONENTIAL POWER PWRD 860 692
Double-precision Floating-point Symbol
Comparison Instructions
LD, AND,
OR
+
=D, <>D,
<D, <=D,
>D, or >=D
335 to 340 694
63 62 52 51 0
Sign
se f
Exponent Mantissa