diff mc-code.h @ 452:8e3284b0a8c9

minor update
author kono
date Mon, 29 Nov 2004 04:15:38 +0900
parents eaf9e2746c83
children b8f95294eb77
line wrap: on
line diff
--- a/mc-code.h	Sun Nov 28 04:16:27 2004 +0900
+++ b/mc-code.h	Mon Nov 29 04:15:38 2004 +0900
@@ -3,13 +3,13 @@
  */
 
 
-#define MAX_MAX 50
-#define INPUT_REG 2    /* input register ( can be reused ) */
-#define USING_REG 1    /* unreusable register usage */
+#define MAX_MAX 50          /* architecture independent max registers */
+#define INPUT_REG 2         /* input register ( can be reused ) */
+#define USING_REG 1         /* unreusable register usage */
 
-extern char *l_include_path[];
+extern char *l_include_path[];   /* library including path */
 
-extern int disp_offset;
+extern int disp_offset;     /* displacement offset in code and function */
 
 extern int MAX_REGISTER; 
 extern int MAX_REGISTGER_VAR;
@@ -25,13 +25,13 @@
 
 extern int data_alignment;
 
-extern int code_lassop_p;
+extern int code_lassop_p;  /* architecture has code_lassop */
 
 /* used by mc-codegen */
 
-extern void gexpr_init(void);
+extern void gexpr_init(void);  /* code generator initialize for each statement */
 extern void emit_init(void);   /* called before delcalartion */
-extern void gen_gdecl(char *n, int gpc);
+extern void gen_gdecl(char *n, int gpc);   /* global definition */
 
 extern void code_init();   /* called only once */
 extern void emit_reinit(); /* called for each file */