Changes
Z80
,/* Internal state */
|-
| IFF1 || 1-bit || Main Instruction Fetch Flip-Flop || Set when interrupts are enabled, cleared on disable.
When the CPU accepts a maskable interrupt, both IFF1 and IFF2 are automatically reset, inhibiting further interrupts until the programmer issues a new EI instruction.
|-
| IFF2 || 1-bit || Store the state of IFF1 during Non-Maskable Interrupts (NMI) || When an NMI occurs, the processor clears IFF1 to disable interrupts temporarily.