aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/v850.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/opcode/v850.h')
-rw-r--r--include/opcode/v850.h7
1 files changed, 7 insertions, 0 deletions
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 */