Chapter 6 Applied Instructions 
6-193 
 
Example 2: 
When X0.0 is ON, the logical operator AND takes the data in the 32-bit device (Y11, Y10) and the 
32-bit device (Y21, Y20), and performs the logical AND operation on each pair of corresponding bits. 
The operation result is stored in (Y41, Y40). 
 
DAND
b15
b0
b31
Before the instruction 
is executed
After the instruction
is executed
S
1
S
2
D
Y11 Y10
Y21 Y20
Y41 Y40
1 1 1 1 1 1 1 1
0 0 0 0
1 1 1 1
0 0 0
0 0 0 0 0 0 0 0 0
1 1 1 1 1
111
0 0 0 0
0 00 00 000
1 1 1
11111
1111 11 1 1 11 1 1
0 0 0 0 0 0 0 0 0 0 0
0 00 00 00 00 00 00
0 00 0