Specifications

Table Of Contents
8–86 Altera Corporation
Nios II Processor Reference Handbook October 2007
ror
ror
rotate right
Operation:
rC
rA rotated right rB
4..0
bit positions
Assembler Syntax:
ror rC, rA, rB
Example:
ror r6, r7, r8
Description: Rotates rA right 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 most-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
ABC0x0b00x3a