yes
[fw/sdcc] / src / z80 / z80.h
index d51ec9161ada7d081bc4206db05601aa0affc40d..020dbafb918cc4170f05aeb3d5bbcec176391c73 100644 (file)
@@ -5,21 +5,28 @@
 #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;
+    int calleeSavesBC;
+  }
+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,
-    ACCUSE_HL
-};
+enum
+  {
+    ACCUSE_A = 1,
+    ACCUSE_SCRATCH,
+    ACCUSE_IY
+  };