Specifications

Table Of Contents
8–84 Altera Corporation
Nios II Processor Reference Handbook October 2007
rol
rol
rotate left
Operation:
rC
rA rotated left rB
4..0
bit positions
Assembler Syntax:
rol rC, rA, rB
Example:
rol r6, r7, r8
Description: Rotates rA left by the number of bits specified in rB
4..0
and stores the result in rC. The
bits that shift out of the register rotate into the least-significant bit positions. Bits 31–5
of rB are ignored.
Instruction Type: R
Instruction Fields: A = Register index of operand rA
B = Register index of operand rB
C = Register index of operand rC
313029282726252423222120191817161514131211109876543210
ABC0x0300x3a