High−level Instructions
3 − 237
Only the lower eight bits of the 16-bit data [n] are effective. Select the amount of the shift within the range 1 to
255 bits.
0000 0000
15 0
K0 to K255(H00 to HFF)
[n]
−−−−−−−−
Upper 8 bits
are invalid
When [n] is specified using K0, the contents of D and D+1 and the carry flag do not change.
When [n] is specified using K32 or higher, the contents of D and D+1 change to 0.
Flag conditions
・Error flag (R9007): Turns on and stays on when the area specified using the index modifier
exceeds the limit.
・Error flag (R9008): Turns on for an instant when the area specified using the index modifier
exceeds the limit.
・Carry flag (R9009): Content in the nth from LSB (least significant bit) turns on for an instant when
the bit transferred to R9009 is recognized as 1.