From e9bfc38ec0cc71d0af15648d0a7297ed244f478e Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Wed, 20 Nov 2024 01:54:32 +0000 Subject: [PATCH] Bug fix --- intel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/intel.c b/intel.c index 62d4d5a..d128106 100644 --- a/intel.c +++ b/intel.c @@ -1983,12 +1983,12 @@ static int finalize_immediate (struct expr *expr, const char *imm_start) { } else if (expr->type == EXPR_TYPE_CONSTANT) { /* Size will be determined later. */ - instruction.types[instruction.operands] |= IMM16; + instruction.types[instruction.operands] |= IMM32; } else { /* It is an address and size will determined later. */ - instruction.types[instruction.operands] = IMM8 | IMM16; + instruction.types[instruction.operands] = IMM8 | IMM16 | IMM32; } @@ -3103,7 +3103,7 @@ static int match_template (void) { if (template->cpu_flags && (template->cpu_flags & cpu_arch_flags) == 0) { continue; } - + if (template->opcode_modifier & suffix_check) { continue; } -- 2.34.1