Browse Source

* d10v-dis.c (print_operand): Apply REGISTER_MASK to `num' of

unmatched register.
binutils-2_12-branch
Alexandre Oliva 25 years ago
parent
commit
373efcb309
  1. 3
      opcodes/ChangeLog
  2. 2
      opcodes/d10v-dis.c

3
opcodes/ChangeLog

@ -1,5 +1,8 @@
2001-12-04 Alexandre Oliva <aoliva@redhat.com>
* d10v-dis.c (print_operand): Apply REGISTER_MASK to `num' of
unmatched register.
* d10v-dis.c (print_operand): Disregard OPERAND_SP in register
predefined value.

2
opcodes/d10v-dis.c

@ -145,7 +145,7 @@ print_operand (oper, insn, op, memaddr, info)
(*info->fprintf_func) (info->stream, "cr");
else if (oper->flags & OPERAND_REG)
(*info->fprintf_func) (info->stream, "r");
(*info->fprintf_func) (info->stream, "%d", num);
(*info->fprintf_func) (info->stream, "%d", num & REGISTER_MASK);
}
}
else

Loading…
Cancel
Save