1 #ifndef ASM_PORT_INCLUDE
2 #define ASM_PORT_INCLUDE
4 void tfprintf (FILE * fp, const char *szFormat, ...);
5 void tsprintf (char *buffer, size_t len, const char *szFormat, ...);
6 void tvsprintf (char *buffer, size_t len, const char *szFormat, va_list ap);
15 typedef struct _ASM_MAPPINGS ASM_MAPPINGS;
17 /* PENDING: could include the peephole rules here as well.
21 const ASM_MAPPINGS *pParent;
22 const ASM_MAPPING *pMappings;
25 /* The default asxxxx token mapping.
27 extern const ASM_MAPPINGS asm_asxxxx_mapping;
28 extern const ASM_MAPPINGS asm_gas_mapping;
29 extern const ASM_MAPPINGS asm_a390_mapping;
30 extern const ASM_MAPPINGS asm_xa_asm_mapping;
32 /** Last entry has szKey = NULL.
34 void asm_addTree (const ASM_MAPPINGS * pMappings);
36 char *FileBaseName (char *fileFullName);
38 char *printILine (iCode *ic);
39 char *printCLine (char *srcFile, int lineno);