Ei-Enable Interrupts - ZiLOG Z8 PLUS User Manual

Table of Contents

Advertisement

.75
P
Â
EI
Enable Interrupts
Instruction Format:
EI
Operation:
IMASK (7) ← 1
Bit 7 of Control Register FBH (the Interrupt Mask Register) is set to 1. This allows potentially enabled inter-
rupts to become enabled.
Flags:
When the instruction is executed, the flags are set as follows:
C:
The value set by the preceding instruction.
Z:
The value set by the preceding instruction.
S:
The value set by the preceding instruction.
V:
The value set by the preceding instruction.
D:
The value set by the preceding instruction.
H:
The value set by the preceding instruction.
Example: Control Register FBH contains 0AH (00001010) (interrupts IRQ1 and IRQ3 are selected). The
following statement sets Control Register FBH to 8AH (10001010B) enabling IRQ1 and IRQ3.
EI
Op Code: 9F
OPC (Hex)
9F
OPC

Advertisement

Table of Contents
loading

Table of Contents