ror

Rotate Right (A32)

ROR{S}<c> <Rd>, <Rm>, <Rs>

Rotates register right.

Details

The Rotate Right instruction rotates register right.

Pseudocode Operation

Rd ← Rm shifted by amount

Example

ROR r0, r2, r6

Encoding

Binary Layout
cond
00
0
1101
S
0000
Rd
Rs
0
111
Rm
 
Format Data Proc
Opcode 0x01A00070
Extension A32 (Base)

Operands

  • Rd
    Destination general-purpose register
  • Rm
    Second source / offset general-purpose register
  • Rs
    Shift amount general-purpose register