diff --git a/src/cpu.rs b/src/cpu.rs index d9fb588..6f0e28b 100644 --- a/src/cpu.rs +++ b/src/cpu.rs @@ -538,6 +538,7 @@ impl I8080 { } Opcode::Mvi(dst) => { self.regs[dst] = data; + self.pc += 1; } Opcode::Lxi(_) => { self.z = data;