From 9bc6f935aca19ef9a32882e28a5c3080c0c64de3 Mon Sep 17 00:00:00 2001 From: MadMaurice Date: Wed, 30 Aug 2023 13:40:38 +0200 Subject: [PATCH] cpu/decoder - Fix comment --- cpu/decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;