AVR specific changes
authorsandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 19 Feb 2001 19:17:20 +0000 (19:17 +0000)
committersandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 19 Feb 2001 19:17:20 +0000 (19:17 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@640 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/avr/gen.c

index b88398cce2ede45d03da66118e8603433b6f8e61..d8ab7e9539564ac5ce6855de50b4bdcce35c5a41 100644 (file)
@@ -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++);
        }