X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fasm.h;h=23263cb90e8264bf80807e4e577c165737f8d668;hb=aaa16aad6fcd7bfcfd2c2070bcfe59bf0da07244;hp=1e242fa2dcda99b403ffa7d2c8791a9a823f1d27;hpb=ac6467ce15f451f91450206b8786b0c8baec3c34;p=fw%2Fsdcc diff --git a/src/asm.h b/src/asm.h index 1e242fa2..23263cb9 100644 --- a/src/asm.h +++ b/src/asm.h @@ -1,9 +1,9 @@ #ifndef ASM_PORT_INCLUDE #define ASM_PORT_INCLUDE -void tfprintf (FILE * fp, const char *szFormat,...); -void tsprintf (char *buffer, const char *szFormat,...); -void tvsprintf (char *buffer, const char *szFormat, va_list ap); +void tfprintf (FILE * fp, const char *szFormat, ...); +void tsprintf (char *buffer, size_t len, const char *szFormat, ...); +void tvsprintf (char *buffer, size_t len, const char *szFormat, va_list ap); typedef struct { @@ -27,6 +27,7 @@ struct _ASM_MAPPINGS extern const ASM_MAPPINGS asm_asxxxx_mapping; extern const ASM_MAPPINGS asm_gas_mapping; extern const ASM_MAPPINGS asm_a390_mapping; +extern const ASM_MAPPINGS asm_xa_asm_mapping; /** Last entry has szKey = NULL. */ @@ -34,4 +35,6 @@ void asm_addTree (const ASM_MAPPINGS * pMappings); char *FileBaseName (char *fileFullName); +char *printILine (iCode *ic); +char *printCLine (char *srcFile, int lineno); #endif