* m32r.opc (parse_slo16): Fix bad application of previous patch.
[deliverable/binutils-gdb.git] / opcodes / m32r-asm.c
index 39546082d414ee6eccd72599dfc6a77e80143d9b..50f1363e77797939fdce552ac7cf630adfcf0a0c 100644 (file)
@@ -141,11 +141,7 @@ parse_slo16 (CGEN_CPU_DESC cd,
       ++*strp;
       if (errmsg == NULL
          && result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
-        {
-         value &= 0xffff;
-          if (value & 0x8000)
-           value = ((value & 0xffff) ^ 0x8000) - 0x8000;
-       }
+       value = ((value & 0xffff) ^ 0x8000) - 0x8000;    
       *valuep = value;
       return errmsg;
     }
This page took 0.023485 seconds and 4 git commands to generate.