m32r.opc (parse_slo16): Do not assume a 32-bit host word size.
[deliverable/binutils-gdb.git] / cpu / m32r.opc
index 63f41a57de00dfa99daca5451682528266b0f204..afe12eb7b6c7edb27e953eb29c486826f15ec3ca 100644 (file)
@@ -182,7 +182,7 @@ parse_slo16 (CGEN_CPU_DESC cd,
         {
          value &= 0xffff;
           if (value & 0x8000)
-             value |= 0xffff0000;
+           value |= ~0xffff;
         }
       *valuep = value;
       return errmsg;
This page took 0.023361 seconds and 4 git commands to generate.