/* TODO: this should be configurable (DS803C90 uses more than 6) */
int maxInterrupts = 6;
+int allocInfo = 1;
extern int maxRegBank ;
symbol *mainf;
extern char *VersionString;
ival = newNode ('=', newAst (EX_VALUE, symbolVal (sym)),
decorateType (resolveSymbols (list2expr (sym->ival))));
codeOutFile = statsg->oFile;
+ allocInfo = 0;
eBBlockFromiCode (iCodeFromAst (ival));
+ allocInfo = 1;
sym->ival = NULL;
}
}
/* print the global variables in this module */
printPublics (asmFile);
- printExterns (asmFile);
+ if (port->assembler.externGlobal)
+ printExterns (asmFile);
/* copy the sfr segment */
fprintf (asmFile, "%s", iComments2);