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

unmatched register.
This commit is contained in:
Alexandre Oliva
2001-12-04 12:30:55 +00:00
parent 8350bcd967
commit 373efcb309
2 changed files with 4 additions and 1 deletions

View File

@ -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