X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fz80%2Fgen.h;h=8751531ce8aa89299d916eae04de8a0891bcc9c6;hb=d7ea4ed7cf4844be678bacdf2ed38e4073335013;hp=902e11f0b356d5e260123d6f9d4a06e5913f6b1f;hpb=d80ddef2ffb8b3106c54e91b3bcd9e1ab277a9dc;p=fw%2Fsdcc diff --git a/src/z80/gen.h b/src/z80/gen.h index 902e11f0..8751531c 100644 --- a/src/z80/gen.h +++ b/src/z80/gen.h @@ -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; }