X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fd10v-dis.c;h=433fd518326e93904b62f42980339360e8cfbbb1;hb=7499d566bb9495cac23109f01ded20f8849d08ae;hp=4a89d8f0c844b5e85f96c18237005db5f1d58738;hpb=d126725049bcee3c863e3908d1ea51cc5e13afed;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/d10v-dis.c b/opcodes/d10v-dis.c index 4a89d8f0c8..433fd51832 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