aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/opcode/ChangeLog5
-rw-r--r--include/opcode/v850.h7
2 files changed, 12 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index 4582cf3..447bf7d 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 <jtc@rtl.cygnus.com>
+
+ * v850.h (v850_operands): Add flags field.
+ (OPERAND_REG, OPERAND_NUM): Defined.
+
Tue Aug 20 14:52:02 1996 J.T. Conklin <jtc@rtl.cygnus.com>
* v850.h: New file.
diff --git a/include/opcode/v850.h b/include/opcode/v850.h
index 0373e38..227393e 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 */