DVP-ES3 Series Programming Manual Example 1: When M0 is ON and SM616 is OFF, the instruction rotates the values of the bits in the 16-bit registers D0–D2 to the left, and stores the operation result in the 16-bit registers D20–D22. The value of the bit marked ※ is transmitted to the carry flag SM614. S Before the rotation is executed b0 b15 D0 D1 D2 Carry flag SM614 ※ After MB R is executed SM616=0 After the rotation to the left is executed D b0 b15 D20 D21 D22 _6 SM614 Carry flag 1 Example 2: When M0 is ON and SM616 is ON, the instruction rotates the values of the bits in the 16-bit registers D0–D2 to the right, and stores the operation result in the 16-bit registers D20–D22.
The value of the bit marked ※ is transmitted to the carry flag SM614. 6-264 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 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 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 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1