]> git.sur5r.net Git - cc65/blobdiff - src/ld65/memarea.h
Started to add a new .BANK instruction that allows access to a memory area
[cc65] / src / ld65 / memarea.h
index 4d3135fa36f8d8fd977d9ac2425ab5e7dd3fb31e..936edc3f77ddc853f4183cdb458d8a015cfa6de1 100644 (file)
@@ -6,7 +6,7 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2010-2011, Ullrich von Bassewitz                                      */
+/* (C) 2010-2012, Ullrich von Bassewitz                                      */
 /*                Roemerstrasse 52                                           */
 /*                D-70794 Filderstadt                                        */
 /* EMail:         uz@cc65.org                                                */
@@ -68,6 +68,7 @@ struct MemoryArea {
     unsigned long              Start;          /* Start address */
     struct ExprNode*    SizeExpr;       /* Expression for size */
     unsigned long              Size;           /* Length of memory section */
+    struct ExprNode*    BankExpr;       /* Expression for bank */
     unsigned long              FillLevel;      /* Actual fill level of segment */
     unsigned char      FillVal;        /* Value used to fill rest of seg */
     unsigned char       Relocatable;    /* Memory area is relocatable */