rrx

Rotate Right with Extend (Thumb)

RRX{S}.W <Rd>, <Rm>

Thumb-2 32-bit Rotate Right with Extend.

Details

The Rotate Right with Extend instruction thumb-2 32-bit Rotate Right with Extend.

Pseudocode Operation

Rd ← Rm shifted by amount

Example

RRX.W r0, r2

Encoding

Binary Layout
111010100101
1111
0
imm3
Rd
00
00
Rm
 
Format Thumb2 Data Proc
Opcode 0xEA5F0000
Extension T32 (Thumb2)

Operands

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