[Prev] [Next] [Contents] [Commodore] [New] [Search] [Home]

ROR

ROR Rotate one bit right (memory or accumulator)

ROR

Operation: → C → 7|6|5|4|3|2|1|0 → N Z C I D V
/ / / _ _ _
(Ref: 10.4)
Addressing ModeAssembly Language FormOP CODENo. BytesNo. Cycles
Accumulator ROR A 6A 1 2
Zero Page ROR Oper 66 2 5
Zero Page, X ROR Oper, X 76 2 6
Absolute ROR Oper 6E 3 6
Absolute, X ROR Oper, X 7E 3 7
Note: ROR instruction is available on MCS650x microprocessors after June, 1976.

RTI

RTI Return from interrupt

RTI

Operation: P↑ PC↑ N Z C I D V
From stack
(Ref: 9.6)
Addressing ModeAssembly Language FormOP CODENo. BytesNo. Cycles
Implied RTI 40 1 6

RTS

RTS Return from subroutine

RTS

Operation: PC↑, PC + 1 → PC N Z C I D V
_ _ _ _ _
(Ref: 8.2)
Addressing ModeAssembly Language FormOP CODENo. BytesNo. Cycles
Implied RTS 60 1 6


[Prev] [Next] [Contents] [Commodore] [New] [Search] [Home]
This page has been created by Sami Rautiainen.
Read the small print. Last updated December 08, 2002.