Changes

Z80

2 bytes added, 11:32, 4 September 2024
/* 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 resetcleared, inhibiting further interrupts.
|-
| IFF2 || 1-bit || Stores the state of IFF1 during Non-Maskable Interrupts (NMI) || When an NMI occurs, the processor clears IFF1 to disable interrupts temporarily.
13,173
edits