]> git.sur5r.net Git - cc65/commitdiff
Forgot to check these in. They contain the new expression opcodes for far
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 19 Jan 2012 11:50:21 +0000 (11:50 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 19 Jan 2012 11:50:21 +0000 (11:50 +0000)
addresses (24 bit) and dwords (32 bit).

git-svn-id: svn://svn.cc65.org/cc65/trunk@5409 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/common/exprdefs.c
src/common/exprdefs.h

index dfee4084ff4029b88920f5cd36ab0d94d3494e42..4fd117dc9b4449ebde725f84efd1dc42c0a0c547 100644 (file)
@@ -210,6 +210,14 @@ static void InternalDumpExpr (const ExprNode* Expr, const ExprNode* (*ResolveSym
            printf (" WORD1");
            break;
 
+               case EXPR_FARADDR:
+           printf (" FARADDR");
+           break;
+
+               case EXPR_DWORD:
+           printf (" DWORD");
+           break;
+
         default:
                    AbEnd ("Unknown Op type: %u", Expr->Op);
 
index 2e1ac6e5a58bf8308e0819f1db6ca7669c657049..50a5a25b6365f61cf5a7fbb7058a378e70246d30 100644 (file)
@@ -98,6 +98,8 @@
 #define EXPR_BYTE3             (EXPR_UNARYNODE | 0x0B)
 #define EXPR_WORD0             (EXPR_UNARYNODE | 0x0C)
 #define EXPR_WORD1             (EXPR_UNARYNODE | 0x0D)
+#define EXPR_FARADDR            (EXPR_UNARYNODE | 0x0E)
+#define EXPR_DWORD              (EXPR_UNARYNODE | 0x0F)