From e74eb924c2eef2818417ec09b51d4beb6e688977 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 19 Oct 2005 14:44:17 +0000 Subject: * m32r.opc (parse_slo16): Fix bad application of previous patch. --- cpu/m32r.opc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'cpu/m32r.opc') diff --git a/cpu/m32r.opc b/cpu/m32r.opc index 2459fec..f2351b1 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; } -- cgit v1.1