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
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
111
100
010
00
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
111
100
010
00
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)