summaryrefslogtreecommitdiff
path: root/cpu/m32r.opc
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/m32r.opc')
-rw-r--r--cpu/m32r.opc6
1 files changed, 1 insertions, 5 deletions
diff --git a/cpu/m32r.opc b/cpu/m32r.opc
index 2459fecbf5..f2351b106a 100644
--- a/cpu/m32r.opc
+++ b/cpu/m32r.opc
@@ -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;
}