/* */
/* */
/* */
-/* (C) 1998-2003 Ullrich von Bassewitz */
-/* Römerstrasse 52 */
-/* D-70794 Filderstadt */
-/* EMail: uz@cc65.org */
+/* (C) 1998-2009, Ullrich von Bassewitz */
+/* Roemerstrasse 52 */
+/* D-70794 Filderstadt */
+/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
-/* Compiler relative stackpointer */
-extern int oursp;
-
/* Forward */
struct StrBuf;
void g_usebss (void);
/* Switch to the bss segment */
-void g_segname (segment_t Seg, const char* Name);
-/* Set the name of a segment */
+void g_segname (segment_t Seg);
+/* Emit the name of a segment if necessary */
void g_defdatalabel (unsigned label);
/* Define a local data label */
+void g_aliasdatalabel (unsigned label, unsigned baselabel, long offs);
+/* Define label as a local alias for baselabel+offs */
+
/*****************************************************************************/
void g_defimport (const char* Name, int ZP);
/* Import the given label */
+void g_importstartup (void);
+/* Forced import of the startup segment */
+
void g_importmainargs (void);
/* Forced import of a special symbol that handles arguments to main */
void g_falsejump (unsigned flags, unsigned label);
/* Jump to label if zero flag set */
+void g_drop (unsigned Space);
+/* Drop space allocated on the stack */
+
void g_space (int space);
/* Create or drop space on the stack */
-/*****************************************************************************/
-/* Inlined known functions */
-/*****************************************************************************/
-
-
-
-void g_strlen (unsigned flags, unsigned long val, long offs);
-/* Inline the strlen() function */
-
-
-
/* End of codegen.h */
#endif