Section 2 CPU
Rev. 5.00 May 29, 2006 page 40 of 698
REJ09B0146-0500
Table 2.8 lists the shift instructions.
Table 2.8
Shift Instructions
Instruction
Operation
Code
Privileged
Mode
Cycles T Bit
ROTL
Rn
T
←
Rn
←
MSB
0100nnnn00000100
—
1
MSB
ROTR
Rn
LSB
→
Rn
→
T
0100nnnn00000101
—
1
LSB
ROTCL
Rn
T
←
Rn
←
T
0100nnnn00100100
—
1
MSB
ROTCR
Rn
T
→
Rn
→
T
0100nnnn00100101
—
1
LSB
SHAD
Rm,Rn
Rn
≥
0: Rn << Rm
→
Rn
Rn < 0: Rn >> Rm
→
[MSB
→
Rn]
0100nnnnmmmm1100
—
1
—
SHAL
Rn
T
←
Rn
←
0
0100nnnn00100000
—
1
MSB
SHAR
Rn
MSB
→
Rn
→
T
0100nnnn00100001
—
1
LSB
SHLD
Rm,Rn
Rn
≥
0: Rn << Rm
→
Rn
Rn < 0: Rn >> Rm
→
[0
→
Rn]
0100nnnnmmmm1101
—
1
—
SHLL
Rn
T
←
Rn
←
0
0100nnnn00000000
—
1
MSB
SHLR
Rn
0
→
Rn
→
T
0100nnnn00000001
—
1
LSB
SHLL2
Rn
Rn << 2
→
Rn
0100nnnn00001000
—
1
—
SHLR2
Rn
Rn >> 2
→
Rn
0100nnnn00001001
—
1
—
SHLL8
Rn
Rn << 8
→
Rn
0100nnnn00011000
—
1
—
SHLR8
Rn
Rn >> 8
→
Rn
0100nnnn00011001
—
1
—
SHLL16
Rn
Rn << 16
→
Rn
0100nnnn00101000
—
1
—
SHLR16
Rn
Rn >> 16
→
Rn
0100nnnn00101001
—
1
—
Summary of Contents for SH7706 Series
Page 8: ...Rev 5 00 May 29 2006 page viii of xlviii ...
Page 160: ...Section 5 Cache Rev 5 00 May 29 2006 page 112 of 698 REJ09B0146 0500 ...
Page 370: ...Section 11 Watchdog Timer WDT Rev 5 00 May 29 2006 page 322 of 698 REJ09B0146 0500 ...
Page 554: ...Section 17 Pin Function Controller PFC Rev 5 00 May 29 2006 page 506 of 698 REJ09B0146 0500 ...
Page 576: ...Section 18 I O Ports Rev 5 00 May 29 2006 page 528 of 698 REJ09B0146 0500 ...
Page 746: ...Index Rev 5 00 May 29 2006 page 698 of 698 REJ09B0146 0500 ...
Page 749: ...SH7706 Group Hardware Manual ...