Chapter 6 Instruction Details
XBC E-Type Main Unit 6-197 Ve r. 1
6.30.8 GWXNR, GWXNRP
Instruction
Step
P M K F L T C S Z D.x
R.x
U N D R
GWXNR(P)
4~7 O - -
Operand Description Data Type
Address of data to start GWXNR operation with S2
Address of data to start GWXNR operation with S1
D Address to save GWXNR operation result in WORD
Number of data to execute WXNR operation
[Flag Set]
Flag Description
If N value exceeds applicable deviceās area.
1) GWXNR (Group Word XNR)
(1) Saves the results of word data from S1 and S2 operated in Logic WXNR for N times in word unit in D in
regular order.
1 1
1
1 1 1
0 0 0
0 1
1 0
0
1 1
S2+1
1 0
1 0
1
0 0 1
1
0 1
0
1 0
0 1
S2
b15 b8
b0
b7
0
0
0 1
0
0 0 0
1
0
1
0
1 0
1
1
S2+2
0
0 1
1 0
1
0 1
1 0
1 1
0
1 1
1
S2+(N-2)
S2+(N-1)
0 0
1 1
0
0 1 1 1
1
0 0
1 0
1
1
n
S1+1
0
0
0 1
1 1
0
0 1
1
0
1
0
0
1 1
S1
b15 b8
b0
b7
1 1
0
0 0
0
1 1
1
1
0
0 1
1
1 1
S1+2
1 0
1
1 1
0 1
0
1 1 0
0 1 1 0
0
S1+(N-2)
1
0 0 1 1 1 0 0 1
0 1 0 1
1 1 1
S1+(N-1)
1
0 1
1 0
0 1 1
0 0
0 1
1
1 0
0
n
XNR
D+1
0
1
0 0
1
0 1
0 1
0
0 0
0 1
0
1
D
b15 b8
b0
b7
0 0 1
0
1 1
0
0 1
0 0
1
1 0
1
1
D+2
0
1
1 1
0 0
0
0 1 0
0
0 0
1 0 0
D+(N-2)
1 0
0 1 1
1 1 1
0 1
1 0 0 0
1 1
D+(N-1)
0 1 1
1 1 1 1
1 0 0
1 0 1
0 0 0
n