From 3f8ceff73f49a1985401f740f2088ed5d953642e Mon Sep 17 00:00:00 2001 From: uz Date: Thu, 19 Jan 2012 11:50:21 +0000 Subject: [PATCH] Forgot to check these in. They contain the new expression opcodes for far 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 | 8 ++++++++ src/common/exprdefs.h | 2 ++ 2 files changed, 10 insertions(+) diff --git a/src/common/exprdefs.c b/src/common/exprdefs.c index dfee4084f..4fd117dc9 100644 --- a/src/common/exprdefs.c +++ b/src/common/exprdefs.c @@ -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); diff --git a/src/common/exprdefs.h b/src/common/exprdefs.h index 2e1ac6e5a..50a5a25b6 100644 --- a/src/common/exprdefs.h +++ b/src/common/exprdefs.h @@ -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) -- 2.39.5