From ced4943245bba56f7064c735b9f12adbefd9a686 Mon Sep 17 00:00:00 2001 From: Simon Owen Date: Mon, 17 Jun 2024 21:02:48 +0100 Subject: [PATCH] Fixed unused index prefix disassembly DD 59 LD E,C Should be disassembled as: DD [IX PREFIX] 59 LD E,C ... since it's not an indexed instruction. Similar issue for FD59 and IY. --- Base/Disassem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Base/Disassem.cpp b/Base/Disassem.cpp index 4605df86..be5f8976 100644 --- a/Base/Disassem.cpp +++ b/Base/Disassem.cpp @@ -34,7 +34,7 @@ uint8_t abIndexableOpcodes[] = { 0x08, 0x8A, 0x0A, 0x8A, 0x3E, 0xBE, 0x3E, 0x08, 0x08, 0x8B, 0x0A, 0x4A, 0x3E, 0x3E, 0x3E, 0x08, - 0x08, 0x08, 0x08, 0x08, 0x3E, 0x3E, 0x36, 0x08, 0x00, 0x87, 0x00, 0x00, 0x3C, 0x3C, 0x3C, 0x00 + 0x08, 0x08, 0x08, 0x08, 0x3E, 0x3E, 0x36, 0x08, 0x00, 0x83, 0x00, 0x00, 0x3C, 0x3C, 0x3C, 0x00 }; static const char* const szUnused = "*[q* PREFIX*]";