static void
_ds390_finaliseOptions (void)
{
+ if (options.noXinitOpt) {
+ port->genXINIT=0;
+ }
+
/* Hack-o-matic: if we are using the flat24 model,
* adjust pointer sizes.
*/
return FALSE;
}
- fprintf (of, "\tajmp\t__sdcc_gsinit_startup\n");
+ fprintf (of, "\tajmp\t__reset_vect\n");
/* now for the other interrupts */
for (i = 0; i < maxInterrupts; i++)
}
}
+ fprintf (of, "__reset_vect:\n\tljmp\t__sdcc_gsinit_startup\n");
+
return TRUE;
}
fputs("\tend\n",of);
}
/* tininative assembler , calls "macro", if it succeeds calls "a390" */
-static void _tininative_do_assemble (const char * const *asmOptions)
+static void _tininative_do_assemble (set *asmOptions)
{
static const char *macroCmd[] = {
"macro","$1.a51",NULL