DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming
3-422
Before execution
After rotation to the left
1
B0
0101010101
0
101
1010101010101010
1
0
11
0
1
0
101
0
1
0
1
0
b15
0
0
10101010101
0
101
1010101010101010
1011010101010100
0
1
M1095
M1095
MBR
M1097=0
D0
D1
D2
D20
D21
D22
Program Example 2:
When X1 = ON, M1097 = ON, indicating a right matrix rotation is performed. The 16-bit registers
D0 ~ D2 will perform a right matrix rotation and the result will be stored in the matrix of the 16-bit
registers D20 ~ D22. The matrix carry flag M1095 will be OFF (0).
X1
MBRP D0 D20 K3
M1097
Before execution
After rotation
to the right
M1097=1
1
b0
0101010101
0
101
1010101010101010
101101010101010
b15
0
0
10101010101
0
101
1010101010101010
1011010101010100
0
0
M1095
M1095
MBR
D0
D1
D2
D20
D21
D22