Omron CJ2 CPU UNIT SOFTWARE User Manual page 520

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Appendices
Instruction
Mnemonic
DOUBLE
ORWL
611
LOGICAL OR
@ORWL
EXCLUSIVE
XORW
036
OR
@XORW
DOUBLE
XORL
612
EXCLUSIVE
@XORL
OR
EXCLUSIVE
XNRW
037
NOR
@XNRW
DOUBLE
XNRL
613
EXCLUSIVE
@XNRL
NOR
COMPLEMENT
COM
029
@COM
DOUBLE COM-
COML
614
PLEMENT
@COML
A-36
Code
Symbol/Operand
ORWL(611)
I
1
I
2
R
I
: Input 1
1
I
: Input 2
2
R: Result word
XORW(036)
I
1
I
2
R
I
: Input 1
1
I
: Input 2
2
R: Result word
XORL(612)
I
1
I
2
R
I
: Input 1
1
I
: Input 2
2
R: Result word
XNRW(037)
I
1
I
2
R
I
: Input 1
1
I
: Input 2
2
R: Result word
XNRL(613)
I
1
I
2
R
I
: Input 1
1
I
: Input 2
2
R: 1st result word
COM(029)
Wd
Wd: Word
COML(614)
Wd
Wd: Word
Function
Takes the logical OR of corresponding bits in
double words of word data and/or constants.
+1) → (R, R+1)
(I
I
+1) + (I
I
1
,
1
2
,
2
I
I
+1
I
I
+1
R, R+1
1
,
1
2
,
2
1
1
1
1
0
1
0
1
1
0
0
0
Takes the logical exclusive OR of corresponding
bits in single words of word data and/or constants.
→R
I
. I
+ I
.I
1
2
1
2
I
I
R
1
2
1
1
0
1
0
1
0
1
1
0
0
0
Takes the logical exclusive OR of corresponding
bits in double words of word data and/or constants.
+1) → (R, R+1)
(I
I
+1). (I
I
+1) + (I
I
+1). (I
I
1
,
1
2
,
2
1
,
1
2
,
2
I
I
+1
I
I
+1
R, R+1
1
,
1
2
,
2
1
1
0
1
0
1
1
0
1
0
0
0
Takes the logical exclusive NOR of corresponding
single words of word data and/or constants.
→R
I
. I
+ I
.I
1
2
1
2
I
I
R
2
1
1
1
1
1
0
0
1
0
0
0
0
1
Takes the logical exclusive NOR of corresponding
bits in double words of word data and/or constants.
+1) → (R, R+1)
(I
I
+1). (I
I
+1) + (I
I
+1). (I
I
,
,
,
,
1
1
2
2
1
1
2
2
I
I
+1
I
I
+1
R, R+1
1
,
1
2
,
2
1
1
1
1
0
0
0
1
0
0
0
1
Turns OFF all ON bits and turns ON all OFF bits in Wd.
Wd → Wd: 1 → 0 and 0 → 1
Turns OFF all ON bits and turns ON all OFF bits in
Wd and Wd+1.
(Wd+1, Wd) → (Wd+1, Wd)
Execution
Location
condition
Output
Required
Output
Required
Output
Required
?
Output
Required
Output
Required
Output
Required
Output
Required
CJ2 CPU Unit Software User's Manual

Advertisement

Table of Contents
loading

Table of Contents