Support new FR-V SPRs
[deliverable/binutils-gdb.git] / cpu / iq2000.opc
index 63ef0768dd53fb85eaca22cf14f65f20abd9b3bb..528750688f43b77cf921b44bc39227743e7a99ec 100644 (file)
@@ -218,6 +218,7 @@ parse_hi16 (CGEN_CPU_DESC cd,
          if (value & 0x8000)
            value += 0x10000;
          value >>= 16;
+         value &= 0xffff;
        }
       *valuep = value;
 
@@ -243,6 +244,7 @@ parse_hi16 (CGEN_CPU_DESC cd,
          && result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
        value >>= 16;
 
+      value &= 0xffff;
       *valuep = value;
 
       return errmsg;
This page took 0.026449 seconds and 4 git commands to generate.