[NIOS2] Fix disassembly of br.n instruction.
[deliverable/binutils-gdb.git] / opcodes / nios2-dis.c
index e1cc716965410ffc83acec1eedc2c5c19acc3fa5..794d700c3e53f98915ef1f7103929e214eb2a7c0 100644 (file)
@@ -694,7 +694,7 @@ nios2_print_insn_arg (const char *argptr,
       switch (op->format)
        {
        case iw_I10_type:
-         o = (((GET_IW_I10_IMM10 (opcode) & 0x3ff) ^ 0x400) - 0x400) * 2;
+         o = (((GET_IW_I10_IMM10 (opcode) & 0x3ff) ^ 0x200) - 0x200) * 2;
          break;
        default:
          bad_opcode (op);
This page took 0.023954 seconds and 4 git commands to generate.