diff --git a/cpu/decoder.cpp b/cpu/decoder.cpp index 989e199..03e9eca 100644 --- a/cpu/decoder.cpp +++ b/cpu/decoder.cpp @@ -83,7 +83,7 @@ void Cpu::executeInstruction() mcycles = 4; } - else if((op & 0xC0) == 0x80) // ADD, ADC, SUB, ABC, CP, AND, OR, XOR + else if((op & 0xC0) == 0x80) // ADD, ADC, SUB, SBC, CP, AND, OR, XOR { AluOp aluop = (AluOp)((op >> 3) & 0x3); u8 reg = op & 0x7;