{
/* for this processor it is simple
can pass only the first parameter in a register */
- if (regParmFlg)
- return 0;
+ //if (regParmFlg)
+ // return 0;
- regParmFlg = 1;
+ regParmFlg++;// = 1;
return 1;
}
static void
_pic14_genAssemblerPreamble (FILE * of)
{
- fprintf (of, "\tlist\tp=16c84\n");
+ fprintf (of, "\tlist\tp=16f877\n");
fprintf (of, "\t__config _wdt_off\n");
- fprintf (of, "\ninclude \"p16c84.inc\"\n");
+ fprintf (of, "\ninclude \"p16f877.inc\"\n");
}
/* Generate interrupt vector table. */
{
_asmCmd,
NULL,
+ NULL,
NULL,
//"-plosgffc", /* Options with debug */
//"-plosgff", /* Options without debug */
{
_linkCmd,
NULL,
+ NULL,
".rel"
},
{
_pic14_regparm,
NULL,
NULL,
+ NULL,
FALSE,
0, /* leave lt */
0, /* leave gt */
1, /* transform >= to ! < */
1, /* transform != to !(a == b) */
0, /* leave == */
+ FALSE, /* No array initializer support. */
+ 0, /* no CSE cost estimation yet */
+ NULL, /* no builtin functions */
PORT_MAGIC
};