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
Function
Rd (shift) → Rd
Performs an arithmetic shift on data in a general register. 1-bit or 2 bit
shift is possible.
Rd (shift) → Rd
Performs a logical shift on data in a general register. 1-bit or 2 bit shift is
possible.
Rd (rotate) → Rd
Rotates data in a general register. 1-bit or 2 bit rotation is possible.
Rd (rotate) → Rd
Rotates data including the carry flag in a general register. 1-bit or 2 bit
rotation is possible.
Rev. 3.00 Jul. 14, 2005 Page 41 of 986
REJ09B0098-0300
Section 2 CPU