* src/pic16/genarith.c (pic16_genPlus): removed debug output
authortecodev <tecodev@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 19 Jan 2005 17:28:40 +0000 (17:28 +0000)
committertecodev <tecodev@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 19 Jan 2005 17:28:40 +0000 (17:28 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3641 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/pic16/genarith.c

index 39f3dcbdb21d765781cf159bb9cc4f1b9c50e027..318aa2982ca72644a79262224588046a83d33acb 100644 (file)
@@ -1020,17 +1020,13 @@ void pic16_genPlus (iCode *ic)
                        // add leftover bytes
                        // either left or right is too short
                        for (i=size; i < AOP_SIZE(result); i++) {
-                         fprintf (stderr, "%s:%d: new code...\n", __FUNCTION__, __LINE__);
-                         pic16_emitcode ("; ", "new arithmetics... test me...");
                          // get right operand into WREG
                          if (i < AOP_SIZE(right)) {
                            pic16_mov2w (AOP(right), i);
                          } else {
-                           pic16_emitcode ("; =##", "right too short");
                            // right is too short
                            pic16_emitpcode (POC_CLRF, pic16_popCopyReg (&pic16_pc_wreg));
                            if (!SPEC_USIGN(getSpec(operandType(right)))) {
-                             pic16_emitcode ("; =##", "right signed");
                              // right operand is signed
                              pic16_emitpcode(POC_BTFSC, pic16_newpCodeOpBit(pic16_aopGet(AOP(right),AOP_SIZE(right)-1,FALSE,FALSE),7,0, PO_GPR_REGISTER));
                              pic16_emitpcode(POC_COMF, pic16_popCopyReg (&pic16_pc_wreg));
@@ -1046,11 +1042,9 @@ void pic16_genPlus (iCode *ic)
                              pic16_emitpcode(POC_MOVWF, pic16_popGet(AOP(result),i));
                            }
                          } else {
-                           pic16_emitcode ("; =##", "left too short");
                            // left is too short
                            pic16_emitpcode (POC_CLRF, pic16_popGet (AOP(result), i));
                            if (!SPEC_USIGN(getSpec(operandType(left)))) {
-                             pic16_emitcode ("; =##", "left signed");
                              // left operand is signed
                              pic16_emitpcode(POC_BTFSC, pic16_newpCodeOpBit(pic16_aopGet(AOP(left),AOP_SIZE(left)-1,FALSE,FALSE),7,0, PO_GPR_REGISTER));
                              pic16_emitpcode(POC_COMF, pic16_popGet (AOP(result), i));