1 #ifndef ASM_PORT_INCLUDE
2 #define ASM_PORT_INCLUDE
6 void tfprintf (FILE * fp, const char *szFormat, ...);
7 void tsprintf (char *buffer, size_t len, const char *szFormat, ...);
8 void dbuf_tprintf (struct dbuf_s *dbuf, const char *szFormat, ...);
9 void dbuf_tvprintf (struct dbuf_s *dbuf, const char *szFormat, va_list ap);
18 typedef struct _ASM_MAPPINGS ASM_MAPPINGS;
20 /* PENDING: could include the peephole rules here as well.
24 const ASM_MAPPINGS *pParent;
25 const ASM_MAPPING *pMappings;
28 /* The default asxxxx token mapping.
30 extern const ASM_MAPPINGS asm_asxxxx_mapping;
31 extern const ASM_MAPPINGS asm_gas_mapping;
32 extern const ASM_MAPPINGS asm_a390_mapping;
33 extern const ASM_MAPPINGS asm_xa_asm_mapping;
35 /** Last entry has szKey = NULL.
37 void asm_addTree (const ASM_MAPPINGS * pMappings);
39 char *FileBaseName (char *fileFullName);
41 char *printILine (iCode *ic);
42 char *printCLine (char *srcFile, int lineno);