* m32r.opc (parse_slo16): Fix bad application of previous patch.
[deliverable/binutils-gdb.git] / cpu / m32r.opc
index 2459fecbf50d9e0a6350cd2f2a266ce5add27257..f2351b106a68571f1287748eeff98a7f078fe570 100644 (file)
@@ -179,11 +179,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.026003 seconds and 4 git commands to generate.