addSet(&s,&b);
addSet(&s,&c);
- fprintf(stdout,"\n\n\n******************\n\n\n");
+ DFPRINTF((stderr,"\n\n\n******************\n\n\n"));
for(t=s; t; t=t->next) {
if(t->item)
- fprintf(stdout,"Set item %d\n",*(char *)t->item);
+ DFPRINTF((stderr,"Set item %d\n",*(char *)t->item));
}
s =reverseSet(s);
for(t=s; t; t=t->next) {
if(t->item)
- fprintf(stdout,"Set item %d\n",*(char *)t->item);
+ DFPRINTF((stderr,"Set item %d\n",*(char *)t->item));
}
addSetHead(&tmpfileSet,ovrFile);
AnalyzepCode('*'); //code->dbName);
+#ifdef PCODE_DEBUG
printCallTree(stderr);
-
- //pCodePeepInit();
-
- //OptimizepCode(code->dbName);
-
+#endif
/* print the global struct definitions */
if (options.debug)
fprintf (asmFile, "; dpl and dph to emulate the 8051 calling mechanism \n");
fprintf (asmFile, "%s", iComments2);
- fprintf (asmFile, "\tdph\n");
-
-
/* copy the sbit segment */
fprintf (asmFile, "%s", iComments2);
fprintf (asmFile, "%s", iComments2);
copyFile (asmFile, data->oFile);
+ fprintf (asmFile, "\tendc\n");
+
/* create the overlay segments */
fprintf (asmFile, "%s", iComments2);
copyFile (asmFile, xdata->oFile);
- fprintf (asmFile, "\tendc\n");
-
-
/* copy the bit segment */
fprintf (asmFile, "%s", iComments2);
fprintf (asmFile, "; bit data\n");