EasyManua.ls Logo

Omron CJ - INSTRUCTIONS - Page 111

Omron CJ - INSTRUCTIONS
1308 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
73
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
2-2 Instruction Functions
2
2-2-11 Logic Instructions
DOUBLE EXCLU-
SIVE OR
XORL
@XORL
612
Output
Required
442
EXCLUSIVE NOR
XNRW
@XNRW
037
Output
Required
444
DOUBLE EXCLU-
SIVE NOR
XNRL
@XNRL
613
Output
Required
444
COMPLEMENT
COM
@COM
029
Output
Required
446
DOUBLE COM-
PLEMENT
COML
@COML
614
Output
Required
446
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
XORL(612)
I
1
I
2
R
I
1
: Input 1
I
2
: Input 2
R: Result word
(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
1
1
0
0
I
2
, I
2
+1
1
0
1
0
R, R+1
0
1
1
0
Takes the logical exclusive OR of corresponding bits in double words
of word data and/or constants.
I
1
I
2
R
XNRW(037)
I
1
: Input 1
I
2
: Input 2
R: Result word
I
1
.I
2
+I
1
.I
2
R
I
1
1
1
0
0
I
2
1
0
1
0
R
1
0
0
1
Takes the logical exclusive NOR of corresponding single words of
word data and/or constants.
XNRL(613)
I
1
I
2
R
I
1
: Input 1
I
2
: Input 2
R: 1st result word
(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
1
1
0
0
I
2
, I
2
+1
1
0
1
0
R, R+1
1
0
0
1
Takes the logical exclusive NOR of corresponding bits in double
words of word data and/or constants.
Wd: Word
Wd
COM(029)
Turns OFF all ON bits and turns ON all OFF bits in Wd.
W
d
W
d
:1
0a
n
d0
1
COML(614)
Wd
W
d
:W
o
r
d
Turns OFF all ON bits and turns ON all OFF bits in Wd and Wd+1.
(
W
d
+1
,
W
d)
(
W
d
+1
,
W
d)

Table of Contents

Related product manuals