We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

RTI: Difference between revisions

From SnesLab
Jump to: navigation, search
(added more flags affected)
Line 68: Line 68:
[[Category:ASM]]
[[Category:ASM]]
[[Category:Inherited from 6502]]
[[Category:Inherited from 6502]]
[[Category:Unconditional Branches]]

Revision as of 03:17, 25 November 2023

Basic Info
Addressing Mode Opcode Length Speed
Stack (RTI) 40 1 byte 6 cycles*
Flags Affected
N V M X D I Z C
65c816 native mode
6502 emulation mode . .

RTI (Return from INterrupt) is a 65x instruction used to return control from an interrupt handler.

Cycle Penalty

RTI takes one additional cycle in native mode.

See Also

External Links