mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 12:03:41 +08:00
* d10v-dis.c (print_operand): Apply REGISTER_MASK to `num' of
unmatched register.
This commit is contained in:
parent
8350bcd967
commit
373efcb309
@ -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 New Issue
Block a user