Changes

Jump to: navigation, search

Z80

25 bytes removed, 23 February
/* Internal state */
When the CPU accepts a maskable interrupt, both IFF1 and IFF2 are automatically cleared, 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.
IFF2 stores the previous state of IFF1 so that after the NMI is handled, IFF1 can be restored to its original state.
A barebone Amstrad CPC doesn't use NMI. So IFF1 and IFF2 are always the same. However, NMI is used by the [[PlayCity]] and [[Play2CPC]] some expansions.
|-
| WZ || 16-bit || Internal temporary register pair. Also known as MEMPTR || Used for memory and address calculations.
13,173
edits