From deaa05853b4c974e3efa73929367d6c89708cdb7 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 18 Feb 1998 05:46:37 +0000 Subject: * cgen.h (CGEN_SYNTAX_MAKE_FIELD): New macro. --- include/opcode/ChangeLog | 4 ++++ include/opcode/cgen.h | 1 + 2 files changed, 5 insertions(+) (limited to 'include') diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 67d2323..a0cf63a 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +Tue Feb 17 21:42:56 1998 Nick Clifton + + * cgen.h (CGEN_SYNTAX_MAKE_FIELD): New macro. + Tue Feb 17 16:00:56 1998 Doug Evans * cgen.h (cgen_insert_fn): Change type of result to const char *. diff --git a/include/opcode/cgen.h b/include/opcode/cgen.h index d20efd3..ffe8f6f 100644 --- a/include/opcode/cgen.h +++ b/include/opcode/cgen.h @@ -608,6 +608,7 @@ typedef struct #define CGEN_SYNTAX_CHAR_P(c) ((c) < 128) #define CGEN_SYNTAX_CHAR(c) (c) #define CGEN_SYNTAX_FIELD(c) ((c) - 128) +#define CGEN_SYNTAX_MAKE_FIELD(c) ((c) + 128) /* ??? I can't currently think of any case where the mnemonic doesn't come first [and if one ever doesn't building the hash tables will be tricky]. -- cgit v1.1