6.92.1 Description

Shifts all bits in Rd one place to the right. The C flag is shifted into bit 7 of Rd. Bit 0 is shifted into the C flag. This operation, combined with ASR, effectively divides multi-byte signed values by two. Combined with LSR, it effectively divides multi-byte unsigned values by two. The Carry flag can be used to round the result.

Operation:

Cb7 - - - - - - - - - - - - - - - - - - b0C

Syntax:

Operands:

Program Counter:

(i)

ROR Rd

0 ≤ d ≤ 31

PC ← PC + 1

16-bit Opcode:

1001010ddddd0111