ror

Rotate Right

ROR r/m, imm8

Rotates bits right.

Details

The Rotate Right instruction rotates bits right.

Pseudocode Operation

DEST <- rotate_right(DEST, count)

Example

ROR rbx, 3

Encoding

Binary Layout
C1
+0
ModRM
+1
 
Format Legacy
Opcode C1 /1
Extension Base

Operands

  • dest
    Register or memory operand
  • src
    8-bit signed immediate