From: johanknol Date: Sat, 7 Apr 2001 17:44:39 +0000 (+0000) Subject: fixed the (long)<<27 bug X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=968094d514d222ba23ff8a8eca4b71c4d07e5afa;p=fw%2Fsdcc fixed the (long)<<27 bug git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@732 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/ds390/gen.c b/src/ds390/gen.c index 2f55a687..f85207e3 100644 --- a/src/ds390/gen.c +++ b/src/ds390/gen.c @@ -6633,7 +6633,7 @@ genlshFour (operand * result, operand * left, int shCount) movLeft2Result (left, LSB, result, MSB32, 0); aopPut (AOP (result), zero, LSB); aopPut (AOP (result), zero, MSB16); - aopPut (AOP (result), zero, MSB32); + aopPut (AOP (result), zero, MSB24); return; } diff --git a/src/mcs51/gen.c b/src/mcs51/gen.c index 4832f416..b239ecc4 100644 --- a/src/mcs51/gen.c +++ b/src/mcs51/gen.c @@ -6005,7 +6005,7 @@ genlshFour (operand * result, operand * left, int shCount) movLeft2Result (left, LSB, result, MSB32, 0); aopPut (AOP (result), zero, LSB); aopPut (AOP (result), zero, MSB16); - aopPut (AOP (result), zero, MSB32); + aopPut (AOP (result), zero, MSB24); return; }