retn

Control Flow // RETN (RETurn from Non-maskable interrupt)

0xED5D - u60765

Description

Used at the end of a non-maskable interrupt service routine (located at $0066) to pop the top stack entry into PC. The value of IFF2 is copied to IFF1 so that maskable interrupts are allowed to continue as before. NMIs are not enabled on the TI.

T States Bytes
14 2

Condition Bits Affected

None.

source
{
  "flags": {
    "S": "unaffected",
    "Z": "unaffected",
    "H": "unaffected",
    "P/V": "unaffected",
    "N": "unaffected",
    "C": "unaffected"
  },
  "unaffected": true,
  "operation": "retn",
  "opcode": "retn",
  "operand": [],
  "code": "ED5D",
  "bytes": 2,
  "time": 14,
  "description": "Used at the end of a non-maskable interrupt service routine (located at $0066) to pop the top stack entry into PC. The value of IFF2 is copied to IFF1 so that maskable interrupts are allowed to continue as before. NMIs are not enabled on the TI.",
  "category": "Control Flow",
  "subCategory": "RETN (RETurn from Non-maskable interrupt)"
}