forked from Imagelibrary/binutils-gdb
Add support for ColdFire MAC instructions and tidy up support for other m68k
variants.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* m68k-parse.h -- header file for m68k assembler
|
||||
Copyright 1987, 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000,
|
||||
2003 Free Software Foundation, Inc.
|
||||
2003, 2004 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GAS, the GNU Assembler.
|
||||
|
||||
@@ -84,7 +84,12 @@ enum m68k_register
|
||||
ZPC, /* Hack for Program space, but 0 addressing */
|
||||
SR, /* Status Reg */
|
||||
CCR, /* Condition code Reg */
|
||||
ACC, /* Accumulator Reg */
|
||||
ACC, /* Accumulator Reg0 (EMAC or ACC on MAC). */
|
||||
ACC1, /* Accumulator Reg 1 (EMAC). */
|
||||
ACC2, /* Accumulator Reg 2 (EMAC). */
|
||||
ACC3, /* Accumulator Reg 3 (EMAC). */
|
||||
ACCEXT01, /* Accumulator extension 0&1 (EMAC). */
|
||||
ACCEXT23, /* Accumulator extension 2&3 (EMAC). */
|
||||
MACSR, /* MAC Status Reg */
|
||||
MASK, /* Modulus Reg */
|
||||
|
||||
@@ -295,6 +300,8 @@ enum m68k_operand_type
|
||||
BASE,
|
||||
POST,
|
||||
PRE,
|
||||
LSH, /* MAC/EMAC scalefactor '<<'. */
|
||||
RSH, /* MAC/EMAC scalefactor '>>'. */
|
||||
REGLST
|
||||
};
|
||||
|
||||
@@ -322,6 +329,9 @@ struct m68k_op
|
||||
|
||||
/* The outer displacement. */
|
||||
struct m68k_exp odisp;
|
||||
|
||||
/* Is a trailing '&' added to an <ea>? (for MAC/EMAC mask addressing). */
|
||||
int trailing_ampersand;
|
||||
};
|
||||
|
||||
#endif /* ! defined (M68K_PARSE_H) */
|
||||
|
||||
Reference in New Issue
Block a user