5.10.4 WXNR, WXNRP, DWXNR, DWXNRP
WXOR
FUN(164) WXOR
(Word exclusive
FUN(165) WXORP
NOR)
Instructions
M
P
S1
O O O O
WXNR(P)
S2
O O O O
DWXNR(P)
D
O O O O*
* Available only when do not use computer link module or data link module
1)
Functions
WXNR(P) : Performs the exclusive NOR of the 16- bit data of device specified at [ S1 ] and [ S2 ]
-
per bit. Then stores the result of logical production into the device specified at [ D ].
S1
0
0
0
0
S2
D
1
0
-
DWXNR(P) : Performs th e exclusive NOR of the 32- bit data of device specified as [ S1+1, S1 ] and
[ S2+1, S2 ] per bit, and stores the result into the device specified at [ D+1, D ].
-
If the result of exclusive NOR is 0, the zero flag (F111) is set.
-
If the indirect address specif ied by #D format is out of device range, the operation error occurs and
the error flag (F110) is set.
FUN(166) DWXOR
FUN(167) DWXORP
Available Device
K
L
F
T
C
O O
O
O O
O
O
O
S1
S2
D
WXNR
DWXNR
S1
S2
D
WXNRP
DWXNRP
16 bits
1
1
1
0
1
0
WXNR
1
0
0
0
1
0
1
0
0
1
1
1
5-70
Chapter 5. Application instructions
Applicable
CPU
Steps
S
D
#D Integer
O O
O
O O
O
7/9/11
O O
Operand setting
Data for which exclusive
S1
NOR will be perf ormed
S2
The device at which the
result of exclusive NOR is
D
stored
1
1
0
1
0
0
0
1
0
0
1
1
0
1
1
0
0
0
All CPUs
Flag
Error
Zero
Carry
(F110)
(F111)
(F112)
O
O
1
1
h3AD3
0
1
h224D
0
1
hA761
Need help?
Do you have a question about the MASTER-K200S and is the answer not in the manual?