static char _defaultRules[] =
{
//#include "peeph.rul"
+ ""
};
static char *_tlcs900h_keywords[] =
TARGET_ID_TLCS900H,
"tlcs900h",
"Toshiba TLCS-900H", /* Target name */
+ NULL,
{
+ glue,
TRUE, /* Emit glue around main */
MODEL_SMALL,
MODEL_SMALL
_asmCmd,
NULL,
NULL,
+ NULL,
0,
- NULL
+ NULL,
+ NULL /* no do_assemble function */
},
{
_linkCmd,
NULL,
+ NULL,
".o"
},
{
/* Sizes: char, short, int, long, ptr, fptr, gptr, bit, float, max */
1, 2, 2, 4, 2, 2, 2, 1, 4, 4
},
+ /* tags for generic pointers */
+ { 0x00, 0x40, 0x60, 0x80 }, /* far, near, xstack, code */
{
"XSEG (XDATA)",
"STACK (DATA)",
"OSEG (OVR,DATA)",
"GSFINAL (CODE)",
"HOME (CODE)",
+ NULL, // xidata
+ NULL, // xinit
NULL,
NULL,
1
},
/* tlcs900h has an 16 bit mul */
{
- 2, 0
+ 2, -1
},
"_",
_tlcs900h_init,
_tlcs900h_parseOptions,
+ NULL,
_tlcs900h_finaliseOptions,
_tlcs900h_setDefaultOptions,
tlcs900h_assignRegisters,
_tlcs900h_getRegName,
_tlcs900h_keywords,
_tlcs900h_genAssemblerPreamble,
+ NULL, /* no genAssemblerEnd */
_tlcs900h_genIVT,
+ 0, // _tlcs900h_genXINIT
_tlcs900h_reset_regparm,
_tlcs900h_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 */
+ GPOINTER, /* treat unqualified pointers as "generic" pointers */
+ 1, /* reset labelKey to 1 */
+ 1, /* globals & local static allowed */
PORT_MAGIC
};