Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-21
WXOR(P),DXOR(P)
1
2
3
4
6
6
7
8
7.1 Logical operation instructions
7.1.5 16-bit and 32-bit exclusive OR operations (WXOR(P),DXOR(P))
(2) The following program compares the bit pattern of the 32-bit data from X20 to X3F with the
bit pattern of the data at D9 and D10 when X6 is ON, and stores the number of differing bits
at D16.
[Ladder Mode] [List Mode]
[Operation]
Remark
See Section 7.5.2 for more information on the DSUMP instruction.
Step Instruction Device
0D10,D9 1 1 11001110000011011110110101101
b31 b16
b0
b15
1D10,D9 1 1 01100100101001110100011111000
X3F X30 X20X2 F
1
X3F to X20
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 X2 4 X23
XOR
b31 b16
b0
b15
17
+ 1
+ 1
+ 1
D16
D
S
D
D
S
D