Section 2 CPU
Rev. 7.00 Mar 10, 2005 page 44 of 652
REJ09B0042-0700
2.5.4 Shift Operations
Table 2.7 describes the eight shift instructions.
Table 2.7 Shift Instructions
Instruction Size
*
Function
SHAL
SHAR
BRd shift → Rd
Performs an arithmetic shift operation on general register contents
SHLL
SHLR
BRd 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
Notes: * Size: Operand size
B: Byte