From 968094d514d222ba23ff8a8eca4b71c4d07e5afa Mon Sep 17 00:00:00 2001 From: johanknol Date: Sat, 7 Apr 2001 17:44:39 +0000 Subject: [PATCH] fixed the (long)<<27 bug git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@732 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/ds390/gen.c | 2 +- src/mcs51/gen.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.47.2