(Algorithms): Correct spelling and punctuation.
[deliverable/binutils-gdb.git] / opcodes / iq2000-asm.c
index caab54f500be337dd52060493eca000346e2c02d..92590867d14b96327169e29e027edf1a7d358d39 100644 (file)
@@ -214,6 +214,7 @@ parse_hi16 (CGEN_CPU_DESC cd,
          if (value & 0x8000)
            value += 0x10000;
          value >>= 16;
+         value &= 0xffff;
        }
       *valuep = value;
 
@@ -239,6 +240,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.023382 seconds and 4 git commands to generate.