96
OR
<=
OR activates when (S1)≤ (S2)
4-4-3
OR
>=
OR activates when (S1)≥ (S2)
4-4-3
4-4-1
.
LD Compare [LD]
1. Summary
LD is the point compare instruction connected with the generatrix.
LD Compare [LD]
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/32bits, BIN
S2
Comparand address
16/32 bits, BIN
3. Suitable soft components
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.
16 bits instruction
32 bits
instruction
Activate Condition Not Activate Condition
LD
=
DLD
=
(S1)
=
(S2)
(S1) ≠ (S2)
LD
>
DLD
>
(S1)
>
(S2)
(S1) ≤ (S2)
LD
<
DLD
<
(S1)
<
(S2)
(S1) ≥ (S2)
LD
<>
DLD
<>
(S1) ≠ (S2)
(S1)
=
(S2)
LD
<=
DLD
<=
(S1) ≤ (S2)
(S1)
>
(S2)
LD
>=
DLD
>=
(S1) ≥ (S2)
(S1)
<
(S2)
Operand
System
Constant Module
D
*
FD
TD
*
CD
*
DX
DY
DM
*
DS
*
K /H
ID
QD
S1
●
●
●
●
●
●
●
●
●
S2
●
●
●
●
●
●
●
●
●
Word
Description