2 INSTRUCTION TABLES
2.4 Basic Instructions
29
2
2.4 Basic Instructions
Comparison operation instructions
Category Instruction
symbol
Symbol Processing details Execution
condition
Number
of basic
steps
Subset Reference
BIN 16-bit
data
comparisons
LD= • Conductive status when (S1)
= (S2)
• Non-conductive status when
(S1) (S2)
3 ● Page 187
AND=
OR=
LD<> • Conductive status when (S1)
(S2)
• Non-conductive status when
(S1) = (S2)
3 ●
AND<>
OR<>
LD> • Conductive status when (S1)
> (S2)
• Non-conductive status when
(S1) (S2)
3 ●
AND>
OR>
LD<= • Conductive status when (S1)
(S2)
• Non-conductive status when
(S1) > (S2)
3 ●
AND<=
OR<=
LD< • Conductive status when (S1)
< (S2)
• Non-conductive status when
(S1) (S2)
3 ●
AND<
OR<
LD>= • Conductive status when (S1)
(S2)
• Non-conductive status when
(S1) < (S2)
3 ●
AND>=
OR>=
BIN 16-bit
data
comparisons
CMP • (D) Conductive status when
(S1) > (S2)
• (D)+1 Conductive status
when (S1) = (S2)
• (D)+2 Conductive status
when (S1) < (S2)
4 Page 205
CMPP
ZCP • (D) Conductive status when
(S1) > (S3)
• (D)+1 Conductive status
when (S1) (S3) (S2)
• (D)+2 Conductive status
when (S3) > (S2)
5 Page 208
ZCPP
S1 S2
S1 S2
S1 S2
S1 S2
S1 S2
S1 S2
S1 S2
S1 S2
S1 S2
S1 S2
S1 S2
S1 S2
S1 S2