* src/z80/gen.c (setupPair): Added 'extended stack' support for the z80. Can now...
[fw/sdcc] / src / z80 / gen.h
index 902e11f0b356d5e260123d6f9d4a06e5913f6b1f..8751531ce8aa89299d916eae04de8a0891bcc9c6 100644 (file)
@@ -51,7 +51,11 @@ typedef enum
     /* Is in A */
     AOP_ACC,
     /* Is in H and L */
-    AOP_HLREG
+    AOP_HLREG,
+    /* Simple literal. */
+    AOP_SIMPLELIT,
+    /* Is in the extended stack pointer (IY on the Z80) */
+    AOP_EXSTK
   }
 AOP_TYPE;
 
@@ -74,6 +78,7 @@ typedef struct asmop
         char *aop_immd;         /* if immediate others are implied */
         int aop_stk;            /* stack offset when AOP_STK */
         const char *aop_str[4]; /* just a string array containing the location */
+        unsigned long aop_simplelit; /* Just the value. */
       }
     aopu;
   }