retn

Return from non-maskable interrupt

Returns from a non-maskable interrupt routine by popping PC and copying IFF2 into IFF1.

2 bytes14 cycles

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

Forms

  • retn

    Returns from a non-maskable interrupt service routine, which is located at 0066h. Pops the top stack entry into PC and copies IFF2 to IFF1, so that maskable interrupts are allowed to continue as before.

        .org 0x8000
        retn
        halt