6 BASIC INSTRUCTIONS
6.5 Shift Instructions
375
6
• These instructions shift the (n1) word(s) of data starting from the specified device to the left by (n2) word(s).
When (n1)=9 and (n2)=4
• The (n2) word(s) from the least significant bit is/are filled with 0H(s).
• If (n1) or (n2) is 0H, no processing is performed.
• In the case of (n1)(n2), (n1) words of data starting from the device specified by (d) become all 0Hs.
There is no operation error.
(1) Filled with 0Hs.
10H 0H 7FFH 3AH 1FH 30H 0H FFH
1FFH
0H 0H0H0H3AH 1FH 30H 0H FFH
(n1)
(n2)
(d)+8 (d)+7 (d)+6 (d)+5 (d)+4 (d)+3 (d)+2 (d)+1 (d)
(d)+8 (d)+7 (d)+6 (d)+5 (d)+4 (d)+3 (d)+2 (d)+1 (d)
(1)