3. Instructions
1046
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Example Programming
CMP
D300
CCS
MOV
D200
CCL
=
0.00
D0
D0
When CIO 0.00 is ON in the following
example, CMP(020) will compare the
contents of D0 and D300 and those results
will be preserved by CCS(282).
The preserved Condition Flags are restored
by CCL(283).
This MOV(021) instruction is executed if the
result of the CMP(020) instruction caused the
Equals flag to be turned ON.