![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268105.webp)
66
Instruction Functions
Section 2-2
2-2-13 Floating-point Math Instructions
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
FLOATING TO
16-BIT
FIX
@FIX
450
Output
Required
595
FLOATING TO
32-BIT
FIXL
@FIXL
451
Output
Required
597
16-BIT TO
FLOATING
FLT
@FLT
452
Output
Required
598
32-BIT TO
FLOATING
FLTL
@FLTL
453
Output
Required
600
FLOATING-
POINT ADD
+F
@+F
454
Output
Required
602
FLOATING-
POINT SUB-
TRACT
–F
@–F
455
Output
Required
604
FIX(450)
S
R
S
: 1st source
word
R
: Result word
S+1
S
R
Signed binary data
(16 bits)
Floating-point data
(32 bits)
Converts a 32-bit floating-point value to 16-bit signed binary data and
places the result in the specified result word.
FIXL(451)
S
R
S
: 1st source
word
R
: 1st result word
S+1
S
R+1
R
Signed binary data
(32 bits)
Floating-point data
(32 bits)
Converts a 32-bit floating-point value to 32-bit signed binary data and
places the result in the specified result words.
FLT(452)
S
R
S
: Source word
R
: 1st result word
R+1
R
S
Converts a 16-bit signed binary value to 32-bit floating-point data and
places the result in the specified result words.
Signed binary data
(16 bits)
Floating-point data
(32 bits)
S
R
FLTL(453)
S
: 1st source
word
R
: 1st result word
R+1
R
S
S+1
Floating-point data
(32 bits)
Signed binary data
(32 bits)
Converts a 32-bit signed binary value to 32-bit floating-point data and
places the result in the specified result words.
+F(454)
R
Au
Ad
Au
: 1st augend
word
AD
: 1st addend
word
R
: 1st result word
R+1
R
+
Au
Au+1
Ad
Ad+1
Adds two 32-bit floating-point numbers and places the result in the
specified result words.
Augend (floating-
point data, 32 bits)
Addend (floating-
point data, 32 bits)
Result (floating-
point data, 32 bits)
F(455)
R
Mi
Su
Mi
: 1st Minuend
word
Su
: 1st
Subtrahend word
R
: 1st result word
R+1
R
−
Mi
Mi+1
Su
Su+1
Minuend (floating-
point data, 32 bits)
Subtrahend (floating-
point data, 32 bits)
Result (floating-point
data, 32 bits)
Subtracts one 32-bit floating-point number from another and places
the result in the specified result words.
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...