* 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>
|
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
|
* d10v-dis.c (print_operand): Disregard OPERAND_SP in register
|
||||||
predefined value.
|
predefined value.
|
||||||
|
|
||||||
|
|
|
@ -145,7 +145,7 @@ print_operand (oper, insn, op, memaddr, info)
|
||||||
(*info->fprintf_func) (info->stream, "cr");
|
(*info->fprintf_func) (info->stream, "cr");
|
||||||
else if (oper->flags & OPERAND_REG)
|
else if (oper->flags & OPERAND_REG)
|
||||||
(*info->fprintf_func) (info->stream, "r");
|
(*info->fprintf_func) (info->stream, "r");
|
||||||
(*info->fprintf_func) (info->stream, "%d", num);
|
(*info->fprintf_func) (info->stream, "%d", num & REGISTER_MASK);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue