X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fxa51%2Fmain.c;h=d3aaa9ad384c347d3ed5d05b328bcb39e7858b60;hb=8381b2492715379f13d71356a509c3bf4dbb3086;hp=2972cb4c9475a70f97179e60b1f4983504ab419a;hpb=f0d3e26f7b91a687dbf34c7e3f56be5f371e1a1e;p=fw%2Fsdcc diff --git a/src/xa51/main.c b/src/xa51/main.c index 2972cb4c..d3aaa9ad 100755 --- a/src/xa51/main.c +++ b/src/xa51/main.c @@ -43,7 +43,8 @@ static char *_xa51_keywords[] = }; extern int rewinds; -void _xa51_genAssemblerEnd () { +void _xa51_genAssemblerEnd (FILE * of) +{ //fprintf (stderr, "Did %d rewind%c for c-line in asm comments\n", rewinds, //rewinds==1 ? '\0' : 's'); } @@ -89,6 +90,7 @@ _xa51_parseOptions (int *pargc, char **argv, int *i) static void _xa51_finaliseOptions (void) { + fprintf (stderr, "*** WARNING *** The XA51 port isn't yet complete\n"); port->mem.default_local_map = istack; port->mem.default_globl_map = xdata; if (options.model!=MODEL_PAGE0) { @@ -194,13 +196,13 @@ static bool cseCostEstimation (iCode *ic, iCode *pdic) */ static const char *_linkCmd[] = { - "xa_link", "", "$1", NULL + "xa_link", "", "\"$1\"", NULL }; /* $3 is replaced by assembler.debug_opts resp. port->assembler.plain_opts */ static const char *_asmCmd[] = { - "xa_rasm", "$l", "$3", "$1.asm", NULL + "xa_rasm", "$l", "$3", "\"$1.asm\"", NULL }; /* Globals */