EasyManua.ls Logo

Omron CJ1M-CPU series

Omron CJ1M-CPU series
383 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
108
Floating-point Math Instructions Section 3-13
3-13 Floating-point Math Instructions
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
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
SUBTRACT
–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
Subtrahend word
R: 1st result word
F(455)
Mi
Su
R
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)

Table of Contents

Other manuals for Omron CJ1M-CPU series

Related product manuals