Datasheet
Section 2 CPU
Rev. 6.00 Aug 04, 2006 page 59 of 680
REJ09B0145-0600
2.5.4 Shift Operations
Table 2.7 describes the eight shift instructions.
Table 2.7 Shift Instructions
Instruction Size
*
Function
SHAL
SHAR
B Rd shift → Rd
Performs an arithmetic shift operation on general register contents
SHLL
SHLR
B Rd shift → Rd
Performs a logical shift operation on general register contents
ROTL
ROTR
B Rd rotate → Rd
Rotates general register contents
ROTXL
ROTXR
B Rd rotate through carry → Rd
Rotates general register contents through the C (carry) bit
Note: * Size: Operand size
B: Byte










