246
Comparison Instructions Section 3-6
The operation of ZCPL(116) is almost identical to that of ZCP(088) except that
ZCPL(116) compares 32-bit values instead of 16-bit values. Refer to 3-6-11
AREA RANGE COMPARE: ZCP(088) for diagrams showing how to use
results in the program and an example program section.
Flags
Precautions Do not program another instruction between ZCPL(116) and an input condi-
tion that accesses the result of ZCPL(116) because the other instruction
might change the status of the Arithmetic Flags.
Name Label Operation
Error Flag ER ON if LL+1, LL > UL+1, UL.
Greater Than Flag > ON if CD > UL+1, UL.
OFF in all other cases.
Greater Than or Equal Flag > = Left unchanged.
Equal Flag = ON if LL+1, LL ≤ CD+1, CD ≤ UL+1, UL.
OFF in all other cases.
Not Equal Flag <> Left unchanged.
Less Than Flag < ON if CD+1, CD < LL+1, LL.
OFF in all other cases.
Less Than or Equal Flag < = Left unchanged.
Negative Flag N Left unchanged.