Added -p command line option to allow selection of port dependent processor.
[fw/sdcc] / src / xa51 / main.c
index 8875d3e7b964b4c88d0985e0afca507e54c1dda1..077af218162249492f9414b1bab44d46ff56567c 100755 (executable)
@@ -149,7 +149,7 @@ _xa51_genAssemblerPreamble (FILE * of)
     fprintf (of, "\t.dw\t__sdcc_gsinit_startup\n");
     fprintf (of, "\n");
     fprintf (of, "__sdcc_gsinit_startup:\n");
-    //fprintf (of, ";\tmov.b\t_SCR,#0x01\t; page zero mode\n");
+    fprintf (of, ";\tmov.b\t_SCR,#0x01\t; page zero mode\n");
     fprintf (of, "\t.db 0x96,0x48,0x40,0x01\n");
     fprintf (of, "\tmov\tr7,#0x%04x\n", options.stack_loc);
     fprintf (of, "\tcall\t_external_startup\n");
@@ -209,6 +209,7 @@ PORT xa51_port =
   TARGET_ID_XA51,
   "xa51",
   "MCU 80C51XA",                       /* Target name */
+  NULL,                                /* Processor name */
   {
     FALSE,                     /* Emit glue around main */
     MODEL_PAGE0,