From dd528affb32c586d5929003e29575fc79ff22d93 Mon Sep 17 00:00:00 2001 From: "J.T. Conklin" Date: Thu, 22 Aug 1996 00:46:17 +0000 Subject: [PATCH] * v850.h (v850_operands): Add flags field. (OPERAND_REG, OPERAND_NUM): Defined. --- include/opcode/ChangeLog | 5 +++++ include/opcode/v850.h | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 4582cf336f3..447bf7dd47e 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,4 +1,9 @@ start-sanitize-v850 +Wed Aug 21 17:45:10 1996 J.T. Conklin + + * v850.h (v850_operands): Add flags field. + (OPERAND_REG, OPERAND_NUM): Defined. + Tue Aug 20 14:52:02 1996 J.T. Conklin * v850.h: New file. diff --git a/include/opcode/v850.h b/include/opcode/v850.h index 0373e386b97..227393e12a4 100644 --- a/include/opcode/v850.h +++ b/include/opcode/v850.h @@ -60,6 +60,8 @@ struct v850_operand /* How far the operand is left shifted in the instruction. */ int shift; + + int flags; }; /* Elements in the table are retrieved by indexing with values from @@ -67,5 +69,10 @@ struct v850_operand extern const struct v850_operand v850_operands[]; +/* Values defined for the flags field of a struct v850_operand. */ +#define OPERAND_NUM 1 /* number or symbol */ +#define OPERAND_REG 2 /* register */ + + #endif /* V850_H */ -- 2.30.2