projects
/
sasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
512312d
)
Bug fix
master
author
Robert Pengelly
<robertapengelly@hotmail.com>
Wed, 20 Nov 2024 01:54:32 +0000
(
01:54
+0000)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Wed, 20 Nov 2024 01:54:32 +0000
(
01:54
+0000)
intel.c
patch
|
blob
|
history
diff --git
a/intel.c
b/intel.c
index 62d4d5a5e36729ab3808a636f0c039d26346c358..d1281069bed6205b9a6ae03ec60f34190dde906c 100644
(file)
--- 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. */
} else if (expr->type == EXPR_TYPE_CONSTANT) {
/* Size will be determined later. */
- instruction.types[instruction.operands] |= IMM
16
;
+ instruction.types[instruction.operands] |= IMM
32
;
} else {
/* It is an address and size will determined later. */
} 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->cpu_flags && (template->cpu_flags & cpu_arch_flags) == 0) {
continue;
}
-
+
if (template->opcode_modifier & suffix_check) {
continue;
}
if (template->opcode_modifier & suffix_check) {
continue;
}