DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
Before execution
After rotation to the left
1
B0
010 10 10 10 1
0
10 1
1 010 10 10 10 10 10 10
1
0
1 1
0
1
0
10 1
0
1
0
1
0
b15
0
0
10 10 10 10 10 1
0
10 1
10 10 10 10 10 10 10 10
10 1 10 10 10 10 10 100
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).
Before execution
After rotation
to the right
M1097=1
1
b0
010 10 10 10 1
0
10 1
1 010 10 10 10 10 10 10
1 01 10 10 10 10 10 10
b15
0
0
10 10 10 10 10 1
0
10 1
10 10 10 10 10 10 10 10
10 1 10 10 10 10 10 100
0
0
M1095
M1095
MBR
D0
D1
D2
D20
D21
D22