326
WXNR, WXNRP, DXNR, DXNRP
[Operation]
Remark
See Page 356, Section 7.5.2 for more information on the SUMP/DSUMP instructions.
When three data are set (
, ( +1,
)
( +1,
) ( +1, ))
,
: Data for an exclusive NOR operation or head number of the devices where the data is stored (BIN 16/32 bits)
: Head number of the devices where the exclusive NOR operation result will be stored (BIN 16/32 bits)
Function
WXNR
(1) Conducts an exclusive NOR operation on the 16-bit data of the device designated by and the 16-bit data of the device
designated by , and stores the results at the device designated by .
(2) For bit devices, the bit devices after the points designated by digit specification are regarded as "0" in the operation.
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
––
––
––
––
1
D17
,
D16 1
0 0 1 0 0 1 0 1 1 0 1 1 0 0 0 0 1 1 1 1 0 0 1 0 0 1 1 0 1 1
b31
b16
b0
b15
1
D17
,
D16 0
1 0
1 1
0 0
1 1 0 0 0 1 1 0 1 0 0 1 0 1 1 0 0 0 1 1 0 0 0 1
X3
F
X30
X20
X2
F
1
0
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
X3C X3B X38 X37 X3
4
X33
X2C X2B X28 X27 X2
4
X23
XOR
b31
b16
b0
b15
15
+
1
+
1
+
1
D18
D
S
D
D
S
D
X3
F
to
X20
S1
S2
D
S1
S1
S2
S2
D
D
Command
Command
P
WXNR, DXNR
WXNRP, DXNRP
S1
S2
D
D
S1
S2
indicates an instruction s
y
mbol of
W
XNR/DXNR.
S1 S2
D
S1
S2
D
S1
S2
D
0
0
1
1
1
1
0
0
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
1
1
0
0
b15
b8
b0
b7
b0
b7
b15
b8
XNR
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
b0
b7
b15
b8
S1
S2
D