diff --git a/src/cpu-prefix.cpp b/src/cpu-prefix.cpp index 1d5205e..d51dfd5 100644 --- a/src/cpu-prefix.cpp +++ b/src/cpu-prefix.cpp @@ -34,7 +34,7 @@ void CPU::prefix() else if (opcode >= 0x18 && opcode <= 0x1f) { rr(); } - else if (opcode >= 0x30 && opcode <= 0x3f) { + else if (opcode >= 0x30 && opcode <= 0x37) { swap(); } else if (opcode >= 0x40 && opcode <= 0x7f) {