Flags
Name
Error Flag
Equals Flag
Overflow Flag
Underflow Flag
Negative Flag
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.
+F
+
-F
–
*F
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Label
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.
=
• ON if both the exponent and mantissa of the result are 0.
• OFF in all other cases.
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.
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.
N
• ON if the result is negative.
• OFF in all other cases.
Au+1
Au
Ad+1
Ad
R+1
R
Mi+1
Mi
Su
Su+1
R+1
R
Md+1
Md
Mr+1
Mr
R+1
R
Operation
Augend (floating-point data, 32 bits)
Addend (floating-point data, 32 bits)
Result (floating-point data, 32 bits)
Minuend (floating-point data, 32 bits)
Subtrahend (floating-point data, 32 bits)
Result (floating-point data, 32 bits)
Multiplicand (floating-point data, 32 bits)
Multiplier (floating-point data, 32 bits)
Result (floating-point data, 32 bits)
3. Instructions
3
469
Need help?
Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?
Questions and answers