Operations:

Format

Syntax:

Operation:

Operands:

Architecture revision

Opcode

1

rol Rd

C´ = Rd[31];
Rd = Rd << 1;
Rd[0] = C;
C = C´;
d ∈ {0, 1, …, 15}

Rev1+

010111001111

Rd

12

4

Description

Shift all bits in Rd one place to the left. The C flag is shifted into the LSB. The MSB is shifted into the C flag.

Status Flags:

Q:

Not affected

V:

Not affected

N:

N = Res[31]

Z:

Z = (RES[31:0] == 0)

C:

C = Rd[31]