X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fmcs51%2Fgen.h;h=3cd811f20c981f4ee3006a658e3be4948e2ba352;hb=a8a7fc8a514bc79114c6d76d6a6aeb885387478c;hp=12cc17d730fa29968bb6386782bb428df96c07d1;hpb=84f1deb0a3d6511fb720149a11b12c373311d4d9;p=fw%2Fsdcc diff --git a/src/mcs51/gen.h b/src/mcs51/gen.h index 12cc17d7..3cd811f2 100644 --- a/src/mcs51/gen.h +++ b/src/mcs51/gen.h @@ -31,7 +31,7 @@ enum AOP_REG, AOP_DIR, AOP_DPTR, AOP_R0, AOP_R1, AOP_STK, AOP_IMMD, AOP_STR, - AOP_CRY, AOP_ACC + AOP_CRY, AOP_ACC, AOP_DUMMY }; /* type asmop : a homogenised type for @@ -53,12 +53,13 @@ typedef struct asmop AOP_CRY - carry contains the value of this AOP_STR - array of strings AOP_ACC - result is in the acc:b pair + AOP_DUMMY - read as 0, discard writes */ short coff; /* current offset */ short size; /* total size */ unsigned code:1; /* is in Code space */ unsigned paged:1; /* in paged memory */ - unsigned freed:1; /* already freed */ + unsigned short allocated; /* number of times allocated */ union { value *aop_lit; /* if literal */ @@ -78,6 +79,7 @@ typedef struct asmop asmop; void gen51Code (iCode *); +void mcs51_emitDebuggerSymbol (char *); //extern char *fReturn8051[]; extern unsigned fReturnSizeMCS51;