Applied patch #2762516
[fw/sdcc] / src / z80 / z80.h
index 9b112ded939e72e933115b140fde47daf5a4c909..0be5418ae559468c2a6192a71c3ca9d90f7a3eee 100644 (file)
@@ -3,6 +3,8 @@
 */
 #include "common.h"
 #include "ralloc.h"
+#include "gen.h"
+#include "peep.h"
 #include "support.h"
 
 typedef enum
@@ -15,6 +17,9 @@ Z80_SUB_PORT;
 typedef struct
   {
     Z80_SUB_PORT sub;
+    int calleeSavesBC;
+    int port_mode;
+    int port_back;
   }
 Z80_OPTS;
 
@@ -26,5 +31,6 @@ extern Z80_OPTS z80_opts;
 enum
   {
     ACCUSE_A = 1,
-    ACCUSE_HL
+    ACCUSE_SCRATCH,
+    ACCUSE_IY
   };