diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-12-04 12:30:55 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2001-12-04 12:30:55 +0000 |
commit | 373efcb30978bae9076679250c37ff070978e813 (patch) | |
tree | 6297d2b90d83df35bf1eb248ef3aedb8c5a3d8bd /opcodes/d10v-dis.c | |
parent | 8350bcd967852fa3d68b8d935331fe2b3e81bbfe (diff) | |
download | fsf-binutils-gdb-373efcb30978bae9076679250c37ff070978e813.zip fsf-binutils-gdb-373efcb30978bae9076679250c37ff070978e813.tar.gz fsf-binutils-gdb-373efcb30978bae9076679250c37ff070978e813.tar.bz2 |
* d10v-dis.c (print_operand): Apply REGISTER_MASK to `num' of
unmatched register.
Diffstat (limited to 'opcodes/d10v-dis.c')
-rw-r--r-- | opcodes/d10v-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/d10v-dis.c b/opcodes/d10v-dis.c index 4a89d8f..433fd51 100644 --- a/opcodes/d10v-dis.c +++ b/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 |