/* Must be first */
ASM_TYPE_ASXXXX,
ASM_TYPE_RGBDS,
- ASM_TYPE_ISAS
+ ASM_TYPE_ISAS,
+ ASM_TYPE_Z80ASM
}
ASM_TYPE;
_G.asmType = ASM_TYPE_ISAS;
return TRUE;
}
+ else if (!strcmp (argv[*i], "--asm=z80asm"))
+ {
+ port->assembler.externGlobal = TRUE;
+ asm_addTree (&_z80asm_z80);
+ _G.asmType = ASM_TYPE_ISAS;
+ return TRUE;
+ }
}
}
return FALSE;
"OVERLAY",
"GSFINAL",
"HOME",
+ NULL, // xidata
+ NULL, // xinit
NULL,
NULL,
1
_keywords,
0, /* no assembler preamble */
0, /* no local IVT generation code */
+ 0, /* no genXINIT code */
_reset_regparm,
_reg_parm,
_process_pragma,
TRUE, /* Array initializer support. */
0, /* no CSE cost estimation yet */
_z80_builtins, /* no builtin functions */
+ GPOINTER, /* treat unqualified pointers as "generic" pointers */
+ 1, /* reset labelKey to 1 */
+ 1, /* globals & local static allowed */
PORT_MAGIC
};
"OVERLAY",
"GSFINAL",
"HOME",
+ NULL, // xidata
+ NULL, // xinit
NULL,
NULL,
1
_keywords,
0, /* no assembler preamble */
0, /* no local IVT generation code */
+ 0, /* no genXINIT code */
_reset_regparm,
_reg_parm,
_process_pragma,
0, /* leave == */
TRUE, /* Array initializer support. */
0, /* no CSE cost estimation yet */
- NULL, /* no builtin functions */
+ NULL, /* no builtin functions */
+ GPOINTER, /* treat unqualified pointers as "generic" pointers */
+ 1, /* reset labelKey to 1 */
+ 1, /* globals & local static allowed */
PORT_MAGIC
};