![Omron CJ1G-CPUxx Instructions Manual Download Page 83](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491083.webp)
62
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
FLOATING TO
32-BIT
FIXL
@FIXL
451
Output
Required
16-BIT TO
FLOATING
FLT
@FLT
452
Output
Required
32-BIT TO
FLOATING
FLTL
@FLTL
453
Output
Required
FLOATING-
POINT ADD
+F
@+F
454
Output
Required
FLOATING-
POINT SUB-
TRACT
–F
@–F
455
Output
Required
S: 1st source
word
R: Result word
FIX(450)
S
R
Converts a 32-bit floating-point value to 16-bit signed binary data and
places the result in the specified result word.
S+1
S
R
Floating-point data
(32 bits)
Signed binary data
(16 bits)
S: 1st source
word
R: 1st result word
FIXL(451)
S
R
Converts a 32-bit floating-point value to 32-bit signed binary data and
places the result in the specified result words.
S+1
S
Floating-point data
(32 bits)
Signed binary data
(32 bits)
R+1
R
S: Source word
R: 1st result word
FLT(452)
S
R
Converts a 16-bit signed binary value to 32-bit floating-point data and
places the result in the specified result words.
R+1
R
S
Floating-point data
(32 bits)
Signed binary data
(16 bits)
S: 1st source
word
R: 1st result word
FLTL(453)
S
R
Converts a 32-bit signed binary value to 32-bit floating-point data and
places the result in the specified result words.
R+1
R
S
Floating-point data
(32 bits)
Signed binary data
(32 bits)
S+1
Au: 1st augend
word
AD: 1st addend
word
R: 1st result word
+F(454)
Au
Ad
R
Adds two 32-bit floating-point numbers and places the result in the
specified result words.
R+1
R
Au
Augend (floating-point
data, 32 bits)
Au+1
Ad
Addend (floating-point
data, 32 bits)
Ad+1
Result (floating-point
data, 32 bits)
+
Mi: 1st Minuend
word
Su: 1st
R: 1st result word
−
F(455)
Mi
Su
R
Subtrahend word
Subtracts one 32-bit floating-point number from another and places
the result in the specified result words.
R+1
R
Mi
Minuend (floating-
point data, 32 bits)
Mi+1
Su
Subtrahend (floating-
point data, 32 bits)
Su+1
Result (floating-
point data, 32 bits)
−
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...