Skip to content

Commit

Permalink
Duplicate instruction fix
Browse files Browse the repository at this point in the history
Corrected assembler generating duplicate instruction for "ld (hl),r" instructions with re-ordered table_z80[] table.
  • Loading branch information
dlkeng authored Oct 19, 2024
1 parent 8ab14a4 commit bc7633e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion asm/z80.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bc7633e

Please sign in to comment.