Added z80 port (links, may not work). mcs51 still works.
[fw/sdcc] / src / z80 / main.c
1 #include "SDCCglobl.h"
2 #include "main.h"
3
4 /* Globals */
5 PROCESSOR_CONSTANTS port = {
6     "Zilog Z80",                /* Target name */
7     {   
8         "as-z80",               /* Assembler executable name */
9         "-plosgff",             /* Options with debug */
10         "-plosgff",             /* Options without debug */
11         TRUE                    /* TRUE if the assembler requires an output name */
12     },
13     {
14         "link-z80",             /* Linker executable name */
15     },
16     {
17         /* Sizes: char, short, int, long, ptr, fptr, gptr, bit, float, max */
18         1, 1, 2, 4, 2, 2, 2, 1, 4, 4
19     },
20     { 
21         -1, 0, 0, 8, 0
22     },
23     /* Z80 has no native mul/div commands */
24     {  
25         0
26     }
27 };
28
29 bool x_parseOptions(char **argv, int *pargc)
30 {
31     int i = *pargc;
32     bool fRecognised = FALSE;
33
34     *pargc = i;
35     return fRecognised;
36 }
37
38 void x_finaliseOptions(void)
39 {
40 }
41
42 void x_setDefaultOptions(void)
43 {    
44 }
45