ROR

Rotate One Bit Right (Memory or Accumulator)

Operation:  +-> |C| -> |7|6|5|4|3|2|1|0| >-+ |C|

N V - B D I Z C
/ . . . . . / /
Addressing ModeAssembly Language FormOP CODENo. BytesNo. Cycles
AccumulatorROR A$6A12
ZeroPageROR $FF$6625
ZeroPage,XROR $FF,X$7626
AbsoluteROR $FFFF$6E36
Absolute,XROR $FFFF,X$7E37

For penalty cycles on the 65816, check the desired addressing mode.

Note: ROR instruction is available on MCS650X microprocessors after June, 1976.