Skip to content

Commit

Permalink
Specify if OP is CB or not in error
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacMarovitz committed Nov 28, 2023
1 parent 4db0dee commit 10b2188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ impl CPU {
0x7D => self.alu_bit(self.reg.l, 7),
0x7E => {}, // BIT 7, HL
0x7F => self.alu_bit(self.reg.a, 7),
code => panic!("Instruction {:2X} is unknown!", code),
code => panic!("CB Instruction {:2X} is unknown!", code),
}
}

Expand Down

0 comments on commit 10b2188

Please sign in to comment.