Omron SYSMAC CP Series Instruction & Reference Manual page 274

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

2 Instructions
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 R+1, R.
+F
+
-F
2-238
Label
P_ER
+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.
P_EQ
• ON if both the exponent and mantissa of the result are 0.
• OFF in all other cases.
P_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.
P_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.
P_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
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)
CP1E CPU Unit Instructions Reference Manual(W483)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents