4 static char *_z80_keywords[] = { NULL };
6 void z80_assignRegisters (eBBlock **ebbs, int count);
8 static bool _z80_parseOptions(int *pargc, char **argv)
13 static void _z80_finaliseOptions(void)
17 static void _z80_setDefaultOptions(void)
19 options.genericPtr = 1; /* default on */
21 options.stackAuto = 1;
22 options.mainreturn = 1;
23 options.noregparms = 1;
24 /* first the options part */
25 options.intlong_rent = 1;
27 optimize.global_cse = 0;
32 optimize.loopInvariant = 0;
33 optimize.loopInduction = 0;
36 static const char *_z80_getRegName(struct regs *reg)
43 /** $1 is always the basename.
44 $2 is always the output file.
46 $l is the list of extra options that should be there somewhere...
47 MUST be terminated with a NULL.
49 static const char *_linkCmd[] = {
50 "link-z80", "-nf", "$1", NULL
53 static const char *_asmCmd[] = {
54 "as-z80", "-plosgff", "$1.o", "$1.asm", NULL
60 "Zilog Z80", /* Target name */
63 "-plosgff", /* Options with debug */
64 "-plosgff", /* Options without debug */
70 /* Sizes: char, short, int, long, ptr, fptr, gptr, bit, float, max */
71 1, 1, 2, 4, 2, 2, 2, 1, 4, 4
88 /* Z80 has no native mul/div commands */
94 _z80_setDefaultOptions,