![Omron CJ1G-CPUxx Instructions Manual Download Page 553](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491553.webp)
532
Floating-point Math Instructions
Section 3-15
Description
*
F(456) multiplies the 32-bit floating-point number in Md+1 and Md by the 32-
bit floating-point number in Mr+1 and Mr and places the result in R+1 and R.
(The floating point data must be in IEEE754 format.)
If the absolute value of the result is greater than the maximum value that can
be expressed as floating-point data, the Overflow Flag will turn ON and the
result will be output as
±∞
.
If the absolute value of the result is less than the minimum value that can be
expressed as floating-point data, the Underflow Flag will turn ON and the
result will be output as 0.
The various combinations of multiplicand and multiplier data will produce the
results shown in the following table.
Note
1.
The results could be zero (including underflows), a numeral, +
∞
, or –
∞
.
2.
The Error Flag will be turned ON and the instruction won’t be executed.
Flags
Precautions
The Multiplicand (Md+1 and Md) and Multiplier (Mr+1 and Mr) data must be in
IEEE754 floating-point data format.
Multiplicand
Multiplier
0
Numeral
+
∞
–
∞
NaN
0
0
0
See note 2.
See note 2.
Numeral
0
See note 1.
+/–
∞
+/–
∞
+
∞
See note 2.
+/–
∞
+
∞
–
∞
–
∞
See note 2
+/–
∞
–
∞
+
∞
NaN
See note 2.
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)
×
Name
Label
Operation
Error Flag
ER
ON if the multiplicand or multiplier data is not recognized
as floating-point data.
ON if the multiplicand or multiplier is not a number (NaN).
ON if +
∞
and 0 are multiplied.
ON if –
∞
and 0 are multiplied.
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.
Underflow Flag
UF
ON if the absolute value of the result is too small to be
expressed as a 32-bit floating-point value.
Negative Flag
N
ON if the result is negative.
OFF in all other cases.
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...