515
Floating-point Math Instructions Section 3-14
Flags
Precautions Input comparison instructions cannot be used as right-hand instructions, i.e.,
another instruction must be used between them and the right bus bar.
Example AND FLOATING LESS THAN: AND<F(331)
When CIO 0.00 is ON in the following example, the floating point data in
D100, D101 is compared to the floating point data in D200, D201. If the con-
tent of D100, D101 is less than that of D200, D201, execution proceeds to the
next line and CIO 100.00 is turned ON. If the content of D100, D101 is not
less than that of D200, D201, execution does not proceed to the next instruc-
tion line.
333 LD>F LOAD FLOATING GREATER THAN True if
C1 > C2
AND>F AND FLOATING GREATER THAN
OR>F OR FLOATING GREATER THAN
334 LD>=F LOAD FLOATING GREATER THAN OR EQUAL True if
C1 ≥ C2
AND>=F AND FLOATING GREATER THAN OR EQUAL
OR>=F OR FLOATING GREATER THAN OR EQUAL
Code Mnemonic Name Function
Name Label Operation
Error Flag ER ON if S
1
+1, S
1
or S
2
+1, S
2
is not a valid floating-point
number (NaN).
ON if S
1
+1, S
1
or S
2
+1, S
2
is +∞.
ON if S
1
+1, S
1
or S
2
+1, S
2
is –∞.
OFF in all other cases.
Greater Than
Flag
>ON if S
1
+1, S
1
> S
2
+1, S
2
.
OFF in all other cases.
Greater Than or
Equal Flag
>= ON if (S
1
+1, S
1
) ≥ (S
2
+1, S
2
).
OFF in all other cases.
Equal Flag = ON if (S
1
+1, S
1
) = (S
2
+1, S
2
).
OFF in all other cases.
Not Equal Flag = ON if (S
1
+1, S
1
) ≠ (S
2
+1, S
2
).
OFF in all other cases.
Less Than Flag < ON if (S
1
+1, S
1
) < (S
2
+1, S
2
).
OFF in all other cases.
Less Than or
Equal Flag
<= ON if (S
1
+1, S
1
) ≤ (S
2
+1, S
2
).
OFF in all other cases.
Negative Flag N Unchanged
<F
D100
D200
0.00
100.00