Think we only need the one check
authorRobert Pengelly <robertapengelly@hotmail.com>
Wed, 3 Sep 2025 20:43:15 +0000 (21:43 +0100)
committerRobert Pengelly <robertapengelly@hotmail.com>
Wed, 3 Sep 2025 20:43:15 +0000 (21:43 +0100)
intel.c

diff --git a/intel.c b/intel.c
index cd0c35d77a91648761da1344bf9263c3424f9f50..f026b68064626a0369de67c76da1864ff21ff424 100644 (file)
--- 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--;