* .version: bumped version number to 2.4.5
[fw/sdcc] / src / pic16 / genutils.c
index 1b188c59083c87b4035cd0761fefe236d1f1d323..ab5f75be5a57e5d2bfe6f5eb5c0ccdcf5ef499a8 100644 (file)
@@ -69,7 +69,7 @@
 void pic16_genNot (iCode *ic)
 {
   int size;
-  symbol *tlbl;
+//  symbol *tlbl;
 
 /*
  * result[AOP_CRY,AOP_REG]  = ! left[AOP_CRY, AOP_REG]
@@ -106,11 +106,9 @@ void pic16_genNot (iCode *ic)
 #endif
 
        pic16_toBoolean( IC_LEFT(ic) );
-       
-       tlbl = newiTempLabel(NULL);
-       emitCLRC;
-       pic16_emitpcode(POC_TSTFSZ, pic16_popCopyReg( &pic16_pc_wreg ));
        emitSETC;
+       pic16_emitpcode(POC_TSTFSZ, pic16_popCopyReg( &pic16_pc_wreg ));
+       emitCLRC;
        pic16_outBitC( IC_RESULT(ic) );
 
 release:    
@@ -299,6 +297,8 @@ void pic16_DumpAop(char *prefix, asmop *aop)
                DEBUGpic16_emitcode (";", " %s type:AOP_R1",prefix);
        if (aop->type == AOP_STK)
                DEBUGpic16_emitcode (";", " %s type:AOP_STK",prefix);
+       if (aop->type == AOP_STA)
+               DEBUGpic16_emitcode (";", " %s type:AOP_STA",prefix);
        if (aop->type == AOP_IMMD)
        {
                DEBUGpic16_emitcode (";", " %s type:AOP_IMMD",prefix);