* d10v-dis.c (print_operand): Apply REGISTER_MASK to `num' of
unmatched register.
This commit is contained in:
parent
8350bcd967
commit
373efcb309
2 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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…
Reference in a new issue