* m32r.opc (parse_slo16): Fix bad application of previous patch.
This commit is contained in:
parent
3242b11e04
commit
e74eb924c2
4 changed files with 10 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue