diff --git a/src/cpu.rs b/src/cpu.rs index 28dcd69..965e967 100644 --- a/src/cpu.rs +++ b/src/cpu.rs @@ -822,6 +822,10 @@ impl CPU { Insn::Stop => self.stop(), Insn::Halt => self.halt(), + Insn::Ld(R8::B, R8::B) => { + let _ = self.ld(R8::B, R8::B, bus); + Err(Error { kind: HitBreak(self.pc(), self.m_cycles + 1) }) + } Insn::Ld(dst, src) => self.ld(dst, src, bus), Insn::LdImm(dst) => self.ld_imm(dst, bus), Insn::LdImm16(dst) => self.ld_imm16(dst, bus),