Z
ILOG
EI [n]
Operation:
if (n is present) then begin
for i=1 to 4 begin
if (n(i) = 1) then begin
end
if (n(0) = 1) then begin
SR(5)
end
end
else begin
SR(5)
end
If an argument is present, enable the selected interrupts by setting the appropriate enable
bits in the Interrupt Enable Register, and then set the Interrupt Enable Flag (IEF1) in the
Select Register (SR) if the least-significant bit of the argument is set, enabling maskable
interrupts. Bits 7-5 of the argument are ignored.
If no argument is present, IEF1 in the SR is set to 1, enabling maskable interrupts.
Note that during the execution of this instruction and the following instruction, maskable
interrupts are not sampled.
Flags:
S: Unaffected
Z: Unaffected
H: Unaffected
V: Unaffected
N: Unaffected
C: Unaffected
Addressing
Mode
Syntax
EI
EI n
DC-8297-03
←
IER(i-1)
1
end
←
1
←
1
Instruction Format
11111011
11011101 11111011 —n——
ENABLE INTERRUPTS
Execute
Time
Note
2
2
™
Z380
U
'
M
SER
S
ANUAL
EI
5-49
Need help?
Do you have a question about the Z80380 and is the answer not in the manual?
Questions and answers