Skip to content

Commit

Permalink
Fixed unused index prefix disassembly
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
simonowen committed Jun 17, 2024
1 parent ab20415 commit ced4943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Base/Disassem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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*]";
Expand Down

0 comments on commit ced4943

Please sign in to comment.