Section 2 CPU
Table 2.6
Shift Instructions
Instruction Size*
SHAL,
B/W/L
SHAR
SHLL,
B/W/L
SHLR
ROTL,
B/W/L
ROTR
ROTXL,
B/W/L
ROTXR
Note: * Size refers to the operand size.
B:
Byte
W: Word
L:
Longword
Rev. 4.00 Jan 26, 2006 page 40 of 938
REJ09B0276-0400
Function
Rd (shift) → Rd
Performs an arithmetic shift on general register contents.
Rd (shift) → Rd
Performs a logical shift on general register contents.
Rd (rotate) → Rd
Rotates general register contents.
Rd (rotate) → Rd
Rotates general register contents, including the carry bit.