EasyManua.ls Logo

Omron CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS
1308 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...
477
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Floating-point Math Instructions
3
+F, –F, *F, /F
Flags
Function
The data specified in Au/Mi/Md/Dd and the data specified in AD/Su/Mr/Dr are added (+F), subtracted
(-F), multiplied (*F), or divided (/F) as single-precision floating-point data (32 bits: IEEE754) and
output to D+1, D.
z +F
z -F
z *F
Name Label Operation
Error Flag ER ON if Au, AD, Mi, Su, Md, Dd is not recognized as floating-point data.
+F
ON if the augend or addend data is not a number (NaN).
ON if + and – are added.
-F
ON if the minuend or subtrahend is not a number (NaN).
ON if + is subtracted from +.
ON if – is subtracted from –.
*F
ON if the multiplicand or multiplier is not a number (NaN).
ON if + and 0 are multiplied.
ON if – and 0 are multiplied.
/F
ON if the dividend or divisor is not a number (NaN).
ON if the dividend and divisor are both 0.
ON if the dividend and divisor are both + or –.
OFF in all other cases.
Equals Flag = ON if both the exponent and mantissa of the result are 0.
OFF in all other cases.
Overflow Flag OF ON if the absolute value of the result is too large to be expressed as a 32-bit floating-point value.
OFF in all other cases.
Underflow Flag UF ON if the absolute value of the result is too small to be expressed as a 32-bit floating-point value.
OFF in all other cases.
Negative Flag N ON if the result is negative.
OFF in all other cases.
R+1 R
+
Au
Au+1
Ad
Ad+1
Result (floating-point data, 32 bits)
Augend (floating-point data, 32 bits)
Addend (floating-point data, 32 bits)
R+1
R
Mi
Mi+1
Su
Su+1
Result (floating-point data, 32 bits)
Subtrahend (floating-point data, 32 bits)
Minuend (floating-point data, 32 bits)
R+1
R
Md
Multiplicand (floating-point data, 32 bits)
Md+1
Mr
Multiplier (floating-point data, 32 bits)
Mr+1
Result (floating-point data, 32 bits)
×

Table of Contents

Related product manuals