61
Instruction Support and Operand Restrictions Section 2-6
DOUBLE
UNSIGNED COM-
PAR E
CMPL 060 S1: Comparison
data 1
UDINT ---
S2: Comparison
data 2
UDINT ---
SIGNED BINARY
COMPARE
CPS
!CPS
114 S1: Comparison
data 1
INT ---
S2: Comparison
data 2
INT ---
DOUBLE SIGNED
BINARY COMPARE
CPSL 115 S1: Comparison
data 1
DINT ---
S2: Comparison
data 2
DINT ---
TABL E
COMPARE
TCMP
@TCMP
085 S: Source data WORD ---
T: 1st word of table WORD Yes (16)
R: Result word UINT ---
MULTIPLE
COMPARE
MCMP
@MCMP
019 S1: 1st word of set
1
WORD Yes (16)
S2: 1st word of set
2
WORD Yes (16)
R: Result word UINT
UNSIGNED
BLOCK
COMPARE
BCMP
@BCMP
068 S: Source data WORD ---
T: 1st word of table WORD Yes (32)
R: Result word UINT ---
EXPANDED
BLOCK COMPARE
BCMP2
@BCMP2
502 S: Source data WORD ---
T: 1st word of block WORD Yes (not
fixed)
R: Result word WORD ---
AREA RANGE
COMPARE
ZCP 088 CD: Compare data
(1 word)
UINT ---
LL: Lower limit of
range
UINT ---
UL: Upper limit of
range
UINT ---
Instruction Mnemonic Function
code
Symbol Operands Supported
variable
data types
AT
setting or
array
variable
required
(Required
word data
size
shown in
parenthe-
ses.)
CMPL
S1
S2
CPS
S1
S2
CPSL
S1
S2
TCMP
S
T
R
MCMP
S1
S2
R
BCMP
S
T
R
BCMP2
S
T
R
ZCP
CD
LL
UL