/opcodes/di

Control Flow // DI (Disable Interrupts)

Description

DI disables the maskable interrupt by resetting the interrupt enable flip-flops (IFF1 and IFF2). Note:This instruction disables the maskable interrupt during its execution.

Example

When the CPU executes the instruction DI the maskable interrupt is disabled until it is subsequently re-enabled by an EI instruction. The CPU does not respond to an Interrupt Request (INT) signal.

Opcodes