# `di`

[Z80 Documentation](https://asm-editor.specy.app/documentation/z80.md) › [Instructions](https://asm-editor.specy.app/documentation/z80/instruction.md)

Web page: https://asm-editor.specy.app/documentation/z80/instruction/di

**Disable interrupts**

Category: System

Resets both interrupt flip-flops, preventing maskable interrupts from triggering.

1 byte · 4 cycles

## Flags

| Flag | Effect |
| --- | --- |
| S | not changed |
| Z | not changed |
| H | not changed |
| P/V | not changed |
| N | not changed |
| C | not changed |

## Forms

- `di` · Resets both interrupt flip-flops, thus preventing maskable interrupts from triggering.

## Example

```z80
        .org 0x8000
        di
        halt
```
