* src/z80/gen.c: Fixed up generator to pass the regresion tests, specifically fixing...
[fw/sdcc] / src / z80 / z80.h
index 5fa505f26af2bb073a7f8b7a1b1a51aba95ce2ec..9b112ded939e72e933115b140fde47daf5a4c909 100644 (file)
@@ -3,17 +3,28 @@
 */
 #include "common.h"
 #include "ralloc.h"
+#include "support.h"
 
-typedef enum {
+typedef enum
+  {
     SUB_Z80,
     SUB_GBZ80
-} Z80_SUB_PORT;
+  }
+Z80_SUB_PORT;
 
-typedef struct {
+typedef struct
+  {
     Z80_SUB_PORT sub;
-} Z80_OPTS;
+  }
+Z80_OPTS;
 
 extern Z80_OPTS z80_opts;
 
 #define IS_GB  (z80_opts.sub == SUB_GBZ80)
+#define IS_Z80 (z80_opts.sub == SUB_Z80)
 
+enum
+  {
+    ACCUSE_A = 1,
+    ACCUSE_HL
+  };