|
* |
A |
B |
C |
D |
E |
F |
G |
H |
I |
J |
K |
L |
M |
N |
O |
P |
Q |
R |
S |
T |
U |
V |
W |
X |
Y |
Z |
? |
Code | Mnemonic | Description |
D0 /0 | ROL r/m8, 1 | Rotate 8 bits r/m8 left once |
D2 /0 | ROL r/m8, CL | Rotate 8 bits r/m8 left CL times |
C0 /0 ib | ROL r/m8, imm8 | Rotate 8 bits r/m8 left imm8 times |
D1 /0 | ROL r/m16, 1 | Rotate 16 bits r/m16 left once |
D3 /0 | ROL r/m16, CL | Rotate 16 bits r/m16 left CL times |
C1 /0 ib | ROL r/m16, imm8 | Rotate 16 bits r/m16 left imm8 times |
D1 /0 | ROL r/m32, 1 | Rotate 32 bits r/m32 left once |
D3 /0 | ROL r/m32, CL | Rotate 32 bits r/m32 left CL times |
C1 /0 ib | ROL r/m32, imm8 | Rotate 32 bits r/m32 left imm8 times |
Operands | Bytes | Clocks | |
reg, 1 | 2 | 1 | PU |
mem, 1 | 2 + d(0, 2) | 3 | PU |
reg, cl | 2 | 4 | NP |
mem, cl | 2 + d(0, 2) | 4 | NP |
reg, imm | 3 | 1 | PU |
mem, imm | 3 + d(0, 2) | 3 | PU (not pairable if there is a displacement and immediate) |
ID | unaffected | DF | unaffected |
VIP | unaffected | IF | unaffected |
VIF | unaffected | TF | unaffected |
AC | unaffected | SF | unaffected |
VM | unaffected | ZF | unaffected |
RF | unaffected | AF | unaffected |
NT | unaffected | PF | unaffected |
IOPL | unaffected | CF | contains the value of the bit shifted into it |
OF | affected only for single-bit rotates (see "Description" above); it is undefined for multi-bit rotates |