diff --git a/cpu.cpp b/cpu.cpp index c58358a..440ec81 100644 --- a/cpu.cpp +++ b/cpu.cpp @@ -2445,6 +2445,9 @@ bool cpu::step() { it_is_a_trap = false; + if (any_queued_interrupts) + execute_any_pending_interrupt(); + instruction_count++; try {