From 5f0d4987554fed0ac908c40d538b3a46c03617f1 Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Wed, 3 Sep 2025 21:43:15 +0100 Subject: [PATCH] Think we only need the one check --- intel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intel.c b/intel.c index cd0c35d..f026b68 100644 --- a/intel.c +++ b/intel.c @@ -6313,7 +6313,7 @@ void machine_dependent_assemble_line (char *start, char *line) { if (current_templates[0].start->base_opcode == 0xC0 && instruction.operands == 2) { - if (instruction.types[1].imm8 || instruction.types[1].imm8s || instruction.types[1].imm16 || instruction.types[1].imm32 || instruction.types[1].imm32s || instruction.types[1].imm64) { + if (instruction.types[1].imm64) { if (instruction.imms[1]->type == EXPR_TYPE_CONSTANT && instruction.imms[1]->add_number == 1) { instruction.operands--; -- 2.34.1