Datasheet

Section 2 CPU
Rev. 8.00 Mar. 09, 2010 Page 44 of 658
REJ09B0042-0800
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