![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268691.webp)
652
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
658
DOUBLE FLOATING TO 32-BIT
FIXLD
842
659
16-BIT TO DOUBLE FLOATING
DBL
843
661
32-BIT TO DOUBLE FLOATING
DBLL
844
662
DOUBLE FLOATING-POINT ADD
+D
845
664
DOUBLE FLOATING-POINT SUBTRACT
–D
846
666
DOUBLE FLOATING-POINT MULTIPLY
*
D
847
668
DOUBLE FLOATING-POINT DIVIDE
/D
848
670
DOUBLE DEGREES TO RADIANS
RADD
849
672
DOUBLE RADIANS TO DEGREES
DEGD
850
674
DOUBLE SINE
SIND
851
675
DOUBLE COSINE
COSD
852
677
DOUBLE TANGENT
TAND
853
679
DOUBLE ARC SINE
ASIND
854
681
DOUBLE ARC COSINE
ACOSD
855
683
DOUBLE ARC TANGENT
ATAND
856
685
DOUBLE SQUARE ROOT
SQRTD
857
687
DOUBLE EXPONENT
EXPD
858
689
DOUBLE LOGARITHM
LOGD
859
691
DOUBLE EXPONENTIAL POWER
PWRD
860
693
Double-precision Floating-point Symbol
Comparison Instructions
LD, AND,
OR
+
=D, <>D,
<D, <=D,
>D, or >=D
335 to 340
695
63
62
52 51
0
Sign
s
e
f
Exponent
Mantissa
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...