696
Double-precision Floating-point Instructions (CS1-H, CJ1-H, CJ1M, or CS1D Only) Section 3-16
Options
With the three input types and six symbols, there are 18 different possible
combinations.
Summary of Input Comparison Instructions
The following table shows the function codes, mnemonics, names, and func-
tions of the 18 single-precision floating-point input comparison instructions.
(C1=S
1
+3, S
1
+2, S
1
+1, S
1
and C2=S
2
+3, S
2
+2, S
2
+1, S
2
.)
Flags In this table, C1 = content of S1 to S1+3 and C2 = content of S2 to S2+3.
Symbol Option (data format)
= (Equal)
< > (Not equal)
< (Less than)
<= (Less than or equal)
> (Greater than)
>= (Greater than or equal)
D: Double-precision floating-point data
Code Mnemonic Name Function
335 LD=D LOAD DOUBLE FLOATING EQUAL True if
C1 = C2
AND=D AND DOUBLE FLOATING EQUAL
OR=D OR DOUBLE FLOATING EQUAL
336 LD<>D LOAD DOUBLE FLOATING NOT EQUAL True if
C1 ≠C2
AND<>D AND DOUBLE FLOATING NOT EQUAL
OR<>D OR DOUBLE FLOATING NOT EQUAL
337 LD<D LOAD DOUBLE FLOATING LESS THAN True if
C1 < C2
AND<D AND DOUBLE FLOATING LESS THAN
OR<D OR DOUBLE FLOATING LESS THAN
338 LD<=D LOAD DOUBLE FLOATING LESS THAN OR
EQUAL
True if
C1 ≤ C2
AND<=D AND DOUBLE FLOATING LESS THAN OR EQUAL
OR<=D OR DOUBLE FLOATING LESS THAN OR EQUAL
339 LD>D LOAD DOUBLE FLOATING GREATER THAN True if
C1 > C2
AND>D AND DOUBLE FLOATING GREATER THAN
OR>D OR DOUBLE FLOATING GREATER THAN
340 LD>=D LOAD DOUBLE FLOATING GREATER THAN OR
EQUAL
True if
C1 ≥ C2
AND>=D AND DOUBLE FLOATING GREATER THAN OR
EQUAL
OR>=D OR DOUBLE FLOATING GREATER THAN OR
EQUAL
Name Label Operation
Error Flag ER OFF
Greater Than
Flag
> ON if C1 > C2.
OFF in all other cases.
Greater Than or
Equal Flag
>= ON if C1 ≥ C2.
OFF in all other cases.
Equal Flag = ON if C1 = C2.
OFF in all other cases.
Not Equal Flag = ON if C1 ≠C2.
OFF in all other cases.