![Xinje XD Series User Manual Download Page 99](http://html.mh-extra.com/html/xinje/xd-series/xd-series_user-manual_887444099.webp)
98
16 bits instruction
32 bits
instruction
Activate Condition
Not Activate Condition
AND
=
DAND
=
(S1)
=
(S2)
(S1) ≠ (S2)
AND
>
DAND
>
(S1)
>
(S2)
(S1) ≤ (S2)
AND
<
DAND
<
(S1)
<
(S2)
(S1) ≥ (S2)
AND
<>
DAND
<>
(S1) ≠ (S2)
(S1)
=
(S2)
AND
<=
DAND
<=
(S1) ≤ (S2)
(S1)
>
(S2)
AND
>=
DAND
>=
(S1) ≥ (S2)
(S1)
<
(S2)
When the source data’s highest bit (16 bits: b15, 32 bits: b31) is 1, it is seemed to negative
number.
The comparison of 32 bits counter should use 32 bits instruction. If using 16 bits instruction,
the program or operation will be error.
4-4-3
.
Parallel Compare [OR]
1. Summary
OR: parallel connection comparison instruction.
Parallel Compare [OR]
16 bits
As below
32 bits
As below
Execution
condition
-
Suitable Models XD, XL
Hardware
requirement
-
Software
requirement
-
2. Operands
Operands Function
Data Type
S1
Being compared number address
16/32 bit,BIN
S2
Comparand address
16/32 bit,BIN
AND
=
K100
C0
Y0
AND
>
D0
K-30
SET
Y1
DAND
>
K68899
D10
M50
X1
M4
X0
X2
S1·
S2·
Note Items