diff options
author | J.T. Conklin <jtc@acorntoolworks.com> | 1996-08-22 00:46:17 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@acorntoolworks.com> | 1996-08-22 00:46:17 +0000 |
commit | dd528affb32c586d5929003e29575fc79ff22d93 (patch) | |
tree | b12f1954c1efd33171a1af45e299a45584067bf5 /include | |
parent | 6bc33c7fa50b47add50e91cb8c15ee0e1f64eece (diff) | |
download | fsf-binutils-gdb-dd528affb32c586d5929003e29575fc79ff22d93.zip fsf-binutils-gdb-dd528affb32c586d5929003e29575fc79ff22d93.tar.gz fsf-binutils-gdb-dd528affb32c586d5929003e29575fc79ff22d93.tar.bz2 |
* v850.h (v850_operands): Add flags field.
(OPERAND_REG, OPERAND_NUM): Defined.
Diffstat (limited to 'include')
-rw-r--r-- | include/opcode/ChangeLog | 5 | ||||
-rw-r--r-- | include/opcode/v850.h | 7 |
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 */ |