The value in D20 is 46, SM614 is OFF, and SM608 is OFF.
The value in D20 is 47, SM614 is ON, and SM608 is OFF.
The value in D20 is 47, SM614 is OFF, and SM608 is ON.
b15
D0
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
D1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
D2
0 1 0
1 0 1 0 1 0 1 0 1 0 1 0 1
Additional remarks
1.
If S+n-1 exceeds the device range, the instruction is not executed, SM0 is ON, and the error code in SR0 is
16#2003.
2.
If n is not between 1–256, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200B.
3.
Instruction flags:
SM608: The matrix comparison comes to an end. When the last bits are compared, SM608 is
ON.
SM611: Matrix pointer error flag. When the value of the pointer exceeds the comparison range,
SM611 is ON.
SM612: Matrix pointer increasing flag. The current value of the pointer increases by one.
SM613: Matrix pointer clearing flag. The current value of the pointer is cleared to zero.
SM614: Carry flag for the matrix rotation/shift/output.
b0
Pr
45
D20
Ch ap te r 6 Ap pl ie d Instruc ti ons
6_
6 - 3 8 3