ROR ROR Rotate one bit right (memory or accumulator) ROR +------------------------------+ | | | +-+ +-+-+-+-+-+-+-+-+ | Operation: +-> |C| -> |7|6|5|4|3|2|1|0| >-+ N V - B D I Z C +-+ +-+-+-+-+-+-+-+-+ / . . . . . / / +----------------+-----------------------+---------+---------+----------+ | Addressing Mode| Assembly Language Form| OP CODE |No. Bytes|No. Cycles| +----------------+-----------------------+---------+---------+----------+ | Accumulator | ROR A | $6A | 1 | 2 | | ZeroPage | ROR $FF | $66 | 2 | 5 | | ZeroPage,X | ROR $FF,X | $76 | 2 | 6 | | Absolute | ROR $FFFF | $6E | 3 | 6 | | Absolute,X | ROR $FFFF,X | $7E | 3 | 7 | +----------------+-----------------------+---------+---------+----------+ For penalty cycles on the 65816, check the desired addressing mode. Note: ROR instruction is available on MCS650X microprocessors after June, 1976. |