AVR specific changes
[fw/sdcc] / 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++);
        }