271
Comparison Instructions
Section 3-7
Variations
Applicable Program Areas
Operands
B: First word of block
Specifies the beginning of a comparison block containing up to 513 words
including up to 256 lower/upper limit pairs). All words must be in the same
data area.
R: First result word
Each bit of each R word contains the result of a comparison between S and
one of the ranges defined the comparison block. The maximum number of
result words is 16, i.e., m equals 0 to 15.
Variations
Executed Each Cycle for ON Condition
BCMP2(502)
Executed Once for Upward Differentiation
@BCMP2(502)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Not supported
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
B+31
B+32
B+33
B+34
B+35
B+36
B+37
B+38
Range 15 value A
Range 15 value B
Range 16 value A
Range 16 value B
Range 17 value A
Range 17 value B
Range 18 value A
Range 18 value B
B+2N+1
B+2(N+1)
Range N value A
Range N value B
B
B+1
B+2
B+3
B+4
B+5
B+6
Range 0
Range 1
Range 2
Range 15
Range 16
Range 17
Range 18
Range
data
Range N
Range 0 value A
Range 0 value B
Range 1 value A
Range 1 value B
Range 2 value A
Range 2 value B
00 hex
0
7
8
15
Comparison block
Word
Last range "N"
N: 00 to FF hex
(0 to 255)
15
0
14
R+m
n
Comparison result for
S and range 15m + 14
Comparison result for
S and range 15m + n
Comparison result for
S and range 15m
Comparison result for
S and range 15m + 15
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...