Omron CJ - INSTRUCTIONS Reference Manual page 88

Table of Contents

Advertisement

2. Summary of Instructions
Instruction
Symbol/Operand
Mnemonic
Code
AREA RANGE
ZCP(088)
COMPARE
ZCP
@ZCP
088
(CJ2, CS1-H,
CJ1-H, CJ1M, or
CS1D only)
CD: Compare
data (1 word)
LL: Lower limit of
range
UL: Upper limit of
range
DOUBLE AREA
ZCPL(116)
RANGE COM-
PARE
ZCPL
@ZCPL
116
(CJ2, CS1-H,
CJ1-H, CJ1M, or
CD: Compare
CS1D only)
data (2 words)
LL: First word of
lower limit
UL: First word of
upper limit
SIGNED AREA
ZCPS(117)
RANGE COM-
PARE
ZCPS
@ZCPS
117
(CJ2H CPU Unit
Ver. 1.3 or later,
CD: Compare
and CJ2M only)
data (1 word)
LL: Lower limit of
range
UL: Upper limit of
range
DOUBLE
ZCPSL(118)
SIGNED AREA
RANGE COM-
PARE
ZCPSL
@ZCPSL
118
(CJ2H CPU Unit
CD: Compare
Ver. 1.3 or later,
data (2 words)
and CJ2M only)
LL: First word of
lower limit
UL: First word of
upper limit
50
Compares the 16-bit unsigned binary value in CD (word contents or
constant) to the range defined by LL and UL and outputs the results to
the Arithmetic Flags in the Auxiliary Area.
CD
LL
UL
Compares the 32-bit unsigned binary value in CD and CD+1 (word con-
tents or constant) to the range defined by LL and UL and outputs the
results to the Arithmetic Flags in the Auxiliary Area.
CD
LL
UL
Compares the 16-bit signed binary value in CD (word contents or con-
stant) to the range defined by LL and UL and outputs the results to the
Arithmetic Flags in the Auxiliary Area.
CD
LL
UL
Compares the 32-bit signed binary value in CD and CD+1 (word con-
tents or constant) to the range defined by LL and UL and outputs the
results to the Arithmetic Flags in the Auxiliary Area.
CD
LL
UL
Function
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Location
Page
Execution
condition
Output
276
Required
Output
276
Required
Output
280
Required
Output
280
Required

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS and is the answer not in the manual?

Table of Contents

Save PDF