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
––
––
–– ––
1D17,D16 1 0 01001011011000011110010011011
b31
b16
b0
b15
1
D17,D16
010110 0
110
001101001011000110001
X3F X30 X20X2F
1
00
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 X34 X33 X2C X2B X28 X27 X24 X23
XOR
b31
b16
b0
b15
15
+ 1
+ 1
+ 1
D18
D
S
D
D
S
D
X3F 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 symbol of WXNR/DXNR.
S1 S2
D
S1
S2
D
S1
S2
D
0011110000110011
00
11
00
11
00
1111
00
b15 b8 b0b7
b0b7b15 b8
XNR
1111000011110000
b0b7b15 b8
S1
S2
D