2 CPU MODULE INSTRUCTION
2.2 Basic instruction
47
2
â– Comparison output 32-bit binary data
â– Comparing 16-bit binary data band
â– Comparing 32-bit binary data band
â– Comparing 16-bit binary block data
â– Comparing 32-bit binary block data
Instruction symbol Description Reference
DCMP [(s1)+1, (s1)] > [(s2)+1, (s2)]: (d) is on
[(s1)+1, (s1)] = [(s2)+1, (s2)]: (d) + 1 is on
[(s1)+1, (s1)] < [(s2)+1, (s2)]: (d) + 2 is on
Page 151
DCMPP
DCMP_U
DCMPP_U
Instruction symbol Description Reference
ZCP (s1)>(s3): (d) is on
(s1)ï‚£(s3)ï‚£(s2): (d) + 1 is on
(s3)>(s2): (d) + 2 is on
Page 153
ZCPP
ZCP_U
ZCPP_U
Instruction symbol Description Reference
DZCP [(s1)+1, (s1)] > [(s3)+1, (s3)]: (d) is on
[(s1)+1, (s1)]ï‚£[(s3)+1, (s3)]ï‚£[(s2)+1, (s2)]: (d) + 1 is on
[(s3)+1, (s3)]>[(s2)+1, (s2)]: (d) + 2 is on
Page 155
DZCPP
DZCP_U
DZCPP_U
Instruction symbol Description Reference
BKCMP=, BKCMP<>, BKCMP>,
BKCMP<=, BKCMP<, BKCMP>=
Compares the 16-bit binary data in the device area ((n) points) from (s1) with the 16-bit binary
data in the device area ((n) points) from (s2), and stores the result in the device area ((n)
points) from (d).
Page 157
BKCMP=P, BKCMP<>P,
BKCMP>P, BKCMP<=P,
BKCMP<P, BKCMP>=P
BKCMP=_U, BKCMP<>_U,
BKCMP>_U, BKCMP<=_U,
BKCMP<_U, BKCMP>=_U
BKCMP=P_U, BKCMP<>P_U,
BKCMP>P_U, BKCMP<=P_U,
BKCMP<P_U, BKCMP>=P_U
Instruction symbol Description Reference
DBKCMP=, DBKCMP<>,
DBKCMP>, DBKCMP<=,
DBKCMP<, DBKCMP>=
Compares the 32-bit binary data in the device area ((n) points) from (s1) with the 32-bit binary
data in the device area ((n) points) from (s2), and stores the result in the device area ((n)
points) from (d).
Page 159
DBKCMP=P, DBKCMP<>P,
DBKCMP>P, DBKCMP<=P,
DBKCMP<P, DBKCMP>=P
DBKCMP=_U, DBKCMP<>_U,
DBKCMP>_U, DBKCMP<=_U,
DBKCMP<_U, DBKCMP>=_U
DBKCMP=P_U, DBKCMP<>P_U,
DBKCMP>P_U, DBKCMP<=P_U,
DBKCMP<P_U, DBKCMP>=P_U