318
WXOR, WXORP, DXOR, DXORP
When two data are set ( , ( +1, ) ( +1, ) ( +1, ))
: Data for an exclusive OR operation or head number of the devices where the data is stored (BIN 16/32 bits)
: Head number of the devices where the exclusive OR operation result will be stored (BIN 16/32 bits)
Function
WXOR
(1) Conducts an exclusive OR operation on each bit of 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.
DXOR
(1) Conducts an exclusive OR operation on each bit of the 32-bit data of the device designated by and the 32-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.
Operation Error
(1) There is no operation error in the WXOR(P) or DXOR(P) instruction.
7.1.5 WXOR, WXORP 16-bit exclusive OR operations
DXOR, DXORP 32-bit exclusive OR operations
7.1.5
WXOR, WXORP, DXOR, DXORP
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
––
–– ––
Basic
Process
High
performance
Redundant
Universal
LCPU
D
S
D D D
S S
D D
Command
Command
P
S D
S D
WXOR, DXOR
WXORP, DXOR
indicates an instruction symbol of WXOR/DXOR.
S
D
S
D
D
S
D
0001101111110000
1
0
11
000
1
0
1
0
11
0
1
0
b15 b8 b0b7
b0b7b15 b8
XOR
0 010101010 10
b0b7b15 b8
11 10
D
S
D
D
S
D
D
S
D
0110 011010 0110
b0b15b31 b16
XOR
+ 1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
b0b15b31 b16
+ 1
0011 00111 0011
b31 b16 b0b15
1
D
S
D
+ 1
D
S
D