![Omron CJ1G-CPU series Programming Manual Download Page 127](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489127.webp)
106
Logic Instructions
Section 3-11
DOUBLE
EXCLUSIVE OR
XORL
@XORL
612
Output
Required
EXCLUSIVE NOR
XNRW
@XNRW
037
Output
Required
DOUBLE
EXCLUSIVE NOR
XNRL
@XNRL
613
Output
Required
COMPLEMENT
COM
@COM
029
Output
Required
DOUBLE COM-
PLEMENT
COML
@COML
614
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
I
1
: Input 1
I
2
: Input 2
R: Result word
XORL(612)
I
1
I
2
R
Takes the logical exclusive OR of corresponding bits in double words of word
data and/or constants.
(I
1
,
I
1
+1). (I
2
,
I
2
+1)
+ (I
1
,
I
1
+1). (I
2
,
I
2
+1)
→
(R, R+1)
I
1
,
,
I
1
+1
I
2
,
,
I
2
+1
R, R+1
R, R+1
1
1
0
1
0
1
0
1
1
0
0
0
I
1
: Input 1
I
2
: Input 2
R: Result word
XNRW(037)
I
1
I
2
R
Takes the logical exclusive NOR of corresponding single words of word data
and/or constants.
I
1
.
I
2
+
I
1
.I
2
→
R
I
1
I
2
R
1
1
1
1
0
0
0
1
0
0
0
1
I
1
: Input 1
I
2
: Input 2
R: 1st result word
XNRL(613)
I
1
I
2
R
Takes the logical exclusive NOR of corresponding bits in double words of
word data and/or constants.
(I
1
,
I
1
+1). (I
2
,
I
2
+1) + (I
1
,
I
1
+1). (I
2
,
I
2
+1)
→
(R, R+1)
I
1
,
I
1
+1
I
2
,
I
2
+1
R, R+1
1
1
1
1
0
0
0
1
0
0
0
1
Wd: Word
COM(029)
Wd
Turns OFF all ON bits and turns ON all OFF bits in Wd.
Wd
→
Wd: 1
→
0 and 0
→
1
Wd: Word
COML(614)
Wd
Turns OFF all ON bits and turns ON all OFF bits in Wd and Wd+1.
(Wd+1, Wd)
→
(Wd+1, Wd)
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...