Di-Disable Interrupts - ZiLOG Z8 PLUS User Manual

Table of Contents

Advertisement

Instruction Format:
DI
Operation:
IMASK (7) ← 0
Bit 7 of control register FBH (the Interrupt Mask Register) is reset to 0. All interrupts are disabled, although
they remain potentially enabled. For example, the Global Interrupt Enable is cleared, but not the individual
interrupt level enables.
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 8AH (10001010B) (interrupts IRQ1 and IRQ3 are enabled). The
following statement sets control register FBH to 0AH (00001010B) and disables all interrupts.
DI
Op Code: 8F
OPC (Hex)
8F
OPC
.75
P
Â
Disable Interrupts
DI

Advertisement

Table of Contents
loading

Table of Contents