From bc7633e0fd571cbf422c37c86c12dc0d9b1196db Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 18 Oct 2024 19:19:32 -0500 Subject: [PATCH] Duplicate instruction fix Corrected assembler generating duplicate instruction for "ld (hl),r" instructions with re-ordered table_z80[] table. --- asm/z80.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/asm/z80.cpp b/asm/z80.cpp index 4a91ab65..b004bb7b 100644 --- a/asm/z80.cpp +++ b/asm/z80.cpp @@ -1173,7 +1173,6 @@ printf("-- %d %d %d\n", operands[n].type, operands[n].value, operands[n].offset) operands[0].value == REG_HL && reg != -1) { - add_bin8(asm_context, table_z80[n].opcode | reg, IS_OPCODE); add_bin8(asm_context, table_z80[n].opcode | reg, IS_OPCODE); return 1; }