diff --git a/opcodes/riscv-dis.c b/opcodes/riscv-dis.c index 9d733565549..27a6bfe2283 100644 --- a/opcodes/riscv-dis.c +++ b/opcodes/riscv-dis.c @@ -578,7 +578,7 @@ print_insn_args (const char *oparg, insn_t l, bfd_vma pc, disassemble_info *info oparg++; while (*oparg && *oparg != ',') { - print (info->stream, dis_style_text, "%c", *oparg); + print (info->stream, dis_style_immediate, "%c", *oparg); oparg++; } oparg--;