From: sandeep Date: Mon, 19 Feb 2001 19:17:20 +0000 (+0000) Subject: AVR specific changes X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=26ccee6994906b58ce1101fc47edaab47fd79637;p=fw%2Fsdcc AVR specific changes git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@640 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/avr/gen.c b/src/avr/gen.c index b88398cc..d8ab7e95 100644 --- a/src/avr/gen.c +++ b/src/avr/gen.c @@ -3782,7 +3782,7 @@ genUnpackBits (operand * result, char *rname, int ptype) if ((shCnt = SPEC_BSTR (etype)) || (SPEC_BLEN (etype) <= 8)) { /* shift right acc */ - AccRsh (shCnt); + // AccRsh (shCnt); emitcode ("anl", "a,#0x%02x", ((unsigned char) -1) >> (8 - SPEC_BLEN (etype))); @@ -3836,7 +3836,7 @@ genUnpackBits (operand * result, char *rname, int ptype) if (rlen) { // emitcode("anl","a,#0x%02x",((unsigned char)-1)>>(rlen)); - AccLsh (8 - rlen); + // AccLsh (8 - rlen); aopPut (AOP (result), "a", offset++); }