]> git.sur5r.net Git - cc65/commitdiff
Added long address size
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 18 Nov 2003 20:50:36 +0000 (20:50 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 18 Nov 2003 20:50:36 +0000 (20:50 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2673 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/common/addrsize.c
src/common/addrsize.h

index 278f5745b2a392d7f8320e7125abfca3bcc10a19..a316801263770aeb1c06cb48cd19e52f447f543a 100644 (file)
@@ -39,7 +39,7 @@
 
 
 /*****************************************************************************/
-/*                                          Code                                    */
+/*                                          Code                                    */
 /*****************************************************************************/
 
 
@@ -52,9 +52,10 @@ const char* AddrSizeToStr (unsigned char AddrSize)
         case ADDR_SIZE_ZP:              return "zeropage";
         case ADDR_SIZE_ABS:             return "absolute";
         case ADDR_SIZE_FAR:             return "far";
+        case ADDR_SIZE_LONG:            return "long";
         default:                        return "unknown";
     }
 }
 
 
-
+                                                    
index 62cc7fde15cb3a32282144c01443d8c663b41155..263481bbacbd6ca6879ef636faf17cd6ce4873a3 100644 (file)
@@ -48,6 +48,7 @@
 #define ADDR_SIZE_ZP            0x01
 #define ADDR_SIZE_ABS           0x02
 #define ADDR_SIZE_FAR           0x03
+#define ADDR_SIZE_LONG          0x04