English
Language : 

Z86E3016PSG Datasheet, PDF (270/348 Pages) Zilog, Inc. – Z86E3016PSG
Z8 Family of Microcontrollers
User Manual
252
Enable Interrupts
EI
Instruction Format
OPC
Cycles
6
OPC
(Hex)
9F
Operation
IMR (7) ← 0
Bit 7 of Control Register FBh (the Interrupt Mask Register) is set to 1.
This allows potentially enabled interrupts to become enabled.
Flag
C
Z
S
V
D
H
Description
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Example
If Control Register FBh contains 0Ah (00001010) (interrupts IRQ1 and
IRQ3 are selected), the statement:
EI
Op Code: 9F
sets Control Register FBh to 8Ah (10001010b) and enables IRQ1 and
IRQ3.
Instruction Description
UM001602-0904