reti

Return from interrupt

Returns from a maskable interrupt routine by popping PC and signaling the device that the interrupt has finished.

2 bytes14 cycles

Used in
SZHP/VNC ––––––
  • Leaves every flag unchanged

Forms

  • reti

    Returns from a maskable interrupt service routine. Pops the top stack entry into PC and signals the I/O device that the interrupt has finished, which allows nested interrupts.

        .org 0x8000
        reti
        halt