EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Page 156

Omron CJ - PROGRAMMING MANUAL 12-2009
448 pages
Print Icon
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...
116
Floating-point Math Instructions
Section 3-13
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
FLOATING-
POINT MULTIPLY
*F
@*F
456
Output
Required
FLOATING-
POINT DIVIDE
/F
@/F
457
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
S
R
FLTL(453)
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
Signed binary data
(32 bits)
Floating-point 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)
Au
Ad
R
Au: 1st augend
word
AD: 1st addend
word
R: 1st result word
R+1 R
Au
Ad
Ad+1
+
Au+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)
Mi
Su
R
Mi: 1st Minuend
word
Su: 1st
Subtrahend word
R: 1st result word
R+1
R
Mi
Mi+1
Su
Su+1
Subtracts one 32-bit floating-point number from another and places
the result in the specified result words.
Minuend (floating-
point data, 32 bits)
Subtrahend (floating-
point data, 32 bits)
Result (floating-
point data, 32 bits)
Md
Mr
R
*F(456)
Md: 1st
Multiplicand word
Mr: 1st Multiplier
word
R: 1st result word
R+1
R
Md
Md+1
Mr
Mr+1
Result (floating-point
data, 32 bits)
Multiplier (floating-
point data, 32 bits)
Multiplicand (floating-
point data, 32 bits)
Multiplies two 32-bit floating-point numbers and places the result in
the specified result words.
×
/F(457)
Dd
Dr
R
Dd: 1st Dividend
word
Dr: 1st Divisor
word
R: 1st result word
R+1
R
Dd
Dd+1
Dr
Dr+1
÷
Divides one 32-bit floating-point number by another and places the
result in the specified result words.
Dividend (floating-
point data, 32 bits)
Divisor (floating-
point data, 32 bits)
Result (floating-
point data, 32 bits)

Table of Contents

Related product manuals