typedef struct instr_info instr_info;
-static bool annotate_immediates = false;
-
static bool dofloat (instr_info *, int);
static int putop (instr_info *, const char *, int);
static void oappend_with_style (instr_info *, const char *,
char separator_char;
char scale_char;
+ bool annotate_immediates;
+
enum x86_64_isa isa64;
};
}
else if (startswith (p, "suffix"))
priv.orig_sizeflag |= SUFFIX_ALWAYS;
-
else if (startswith (p, "annotate"))
- annotate_immediates = true;
+ ins.annotate_immediates = true;
p = strchr (p, ',');
if (p != NULL)
print_operand_value (ins, imm, dis_style_immediate);
/* Determine if we can display some more information about this immediate. */
- if (! annotate_immediates
+ if (! ins->annotate_immediates
/* Don't bother with zero, even if there is symbol associated with it. */
|| imm == 0
/* For the next tests we need a BFD. If we do not have one then do not proceed. */