forked from Imagelibrary/binutils-gdb
start-sanitize-d10v
Mon Jul 22 11:21:15 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * d10v.h (pd_reg): Define. Putting the definition here allows the assembler and disassembler to share the same struct. end-sanitize-d10v
This commit is contained in:
@@ -147,4 +147,19 @@ extern const struct d10v_operand d10v_operands[];
|
||||
/* predecrement mode '@-sp' */
|
||||
#define OPERAND_ATMINUS (0x2000)
|
||||
|
||||
/* Structure to hold information about predefined registers. */
|
||||
struct pd_reg
|
||||
{
|
||||
char *name; /* name to recognize */
|
||||
char *pname; /* name to print for this register */
|
||||
int value;
|
||||
};
|
||||
|
||||
extern const struct pd_reg pre_defined_registers[];
|
||||
int reg_name_cnt();
|
||||
|
||||
/* an expressionS only has one register type, so we fake it */
|
||||
/* by setting high bits to indicate type */
|
||||
#define REGISTER_MASK 0xFF
|
||||
|
||||
#endif /* D10V_H */
|
||||
|
||||
Reference in New Issue
Block a user