Fix MVi not incrementing PC after reading immediate
This commit is contained in:
parent
b87a8f81ef
commit
0b3e2d0ff3
@ -538,6 +538,7 @@ impl I8080 {
|
||||
}
|
||||
Opcode::Mvi(dst) => {
|
||||
self.regs[dst] = data;
|
||||
self.pc += 1;
|
||||
}
|
||||
Opcode::Lxi(_) => {
|
||||
self.z = data;
|
||||
|
Loading…
Reference in New Issue
Block a user