2005-02-17 Paul Brook <paul@codesourcery.com>
[deliverable/binutils-gdb.git] / gas / config / m68k-parse.h
index 6482007504a42044f795f91a90f289f7be5bba03..769a432c553c28c9bcb5c337cea9d47781ee7ab9 100644 (file)
@@ -1,6 +1,6 @@
 /* m68k-parse.h -- header file for m68k assembler
-   Copyright 1987, 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000
-   Free Software Foundation, Inc.
+   Copyright 1987, 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000,
+   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 */
 
@@ -105,14 +110,24 @@ enum m68k_register
   TC,
   SRP,
   URP,
-  BUSCR,                       /* 68060 added these */
+  BUSCR,                       /* 68060 added these */
   PCR,
-  ROMBAR,                      /* mcf5200 added these */
+  ROMBAR,                      /* mcf5200 added these */
   RAMBAR0,
   RAMBAR1,
+  MMUBAR,                      /* mcfv4e added these.  */
+  ROMBAR1,                     /* mcfv4e added these.  */
+  MPCR, EDRAMBAR, SECMBAR,     /* mcfv4e added these.  */
+  PCR1U0, PCR1L0, PCR1U1, PCR1L1,/* mcfv4e added these.  */
+  PCR2U0, PCR2L0, PCR2U1, PCR2L1,/* mcfv4e added these.  */
+  PCR3U0, PCR3L0, PCR3U1, PCR3L1,/* mcfv4e added these.  */
+  MBAR0, MBAR1,                        /* mcfv4e added these.  */
+  ACR0, ACR1, ACR2, ACR3,       /* mcf5200 added these.  */
+  FLASHBAR, RAMBAR,            /* mcf528x added these.  */
+  MBAR2,                       /* mcf5249 added this.  */
   MBAR,
 #define last_movec_reg MBAR
-  /* end of movec ordering constraints */
+  /* End of movec ordering constraints.  */
 
   FPI,
   FPS,
@@ -286,6 +301,8 @@ enum m68k_operand_type
   BASE,
   POST,
   PRE,
+  LSH,  /* MAC/EMAC scalefactor '<<'.  */
+  RSH,  /* MAC/EMAC scalefactor '>>'.  */
   REGLST
 };
 
@@ -313,6 +330,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) */
This page took 0.024299 seconds and 4 git commands to generate.