Ex6502.CPU.Executor.RTI (ex6502 v0.1.0) View Source

Return from interrup

Transfers the status and program counter for the instruction that was interrupted. Reinitializes all flags to the point they were at at the time the interrupt was taken and sets the program counter back to its pre-interrupt state.

Operation

P↑ PC↑

Table

RTI | Jump to Subroutine
==================================================

P                                 N V - B D I Z C
PC                                + + - - + + + +

addressing       assembler      opc  bytes  cycles
--------------------------------------------------
implied          RTI             40    1      6

Link to this section Summary

Link to this section Functions