From: Robert Pengelly Date: Wed, 3 Sep 2025 20:43:15 +0000 (+0100) Subject: Think we only need the one check X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=5f0d4987554fed0ac908c40d538b3a46c03617f1;p=sasm.git Think we only need the one check --- 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--;