im
Set interrupt mode
Selects interrupt mode 0, 1 or 2, which sets how the CPU responds to maskable interrupts.
2 bytes · 8 cycles
SZHP/VNC ––––––
- Changes no flag
Forms
im 0Sets interrupt mode 0.
im 1Sets interrupt mode 1.
im 2Sets interrupt mode 2.
.org 0x8000
im 0
halt