High−level Instructions
3 − 251
Description
Shifts one hexadecimal digit (4 bits) of the data range specified by D1 (starting) and D2 (ending) to the right (to
the lower digit position).
The data in the lower hexadecimal digit (bit
position 0 to 3) is shifted out.
Specified data range
·· ·· ·· · ·
15 1211 8 7 4 3 0
D2
·· ·· ·· · ·
15 1211 8 7 4 3 0
D1
0
·· ·· ·· · ·
15 1211 8 7 4 3 0
D2
·· ·· ·· · ·
15 1211 8 7 4 3 0
D1
··
15
··
15
··
0
··
0
The higher hexadecimal digit
(bit position 12 to 15) becomes 0.
Starting area D1 and ending area D2 should be:
− The same type of operand.
− D1 D2.
When the hexadecimal digit (4 bits) is shifted to the right,
− The data at the lower hexadecimal digit (bit positions 0 to 3) of the 16-bit data specified by D1 is
shifted out.
− The data at the higher hexadecimal digit (bit positions 12 to 15) in the 16-bit data specified by D2
becomes 0.
Flag conditions
・Error flag (R9007): Turns on and stays on when:
・Error flag (R9008): Turns on for an instant when:
− The area specified using the index modifier exceeds the limit.
− D1 > D2.