2003-01-07 Chris Demetriou <cgd@broadcom.com>
[deliverable/binutils-gdb.git] / include / opcode / a29k.h
index 8ed4c4614781e8630dfce3003ed43d2697ac63f8..c6c8c3700036cdfef5bee819c7facb09b835d907 100644 (file)
@@ -1,12 +1,12 @@
-/* Table of opcodes for the AMD 29000
-   Copyright (C) 1990, 1991 Free Software Foundation, Inc.
+/* Table of opcodes for the AMD 29000 family.
+   Copyright 1990, 1991, 1993, 1994, 2002 Free Software Foundation, Inc.
 
 This file is part of GDB and GAS.
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 1, or (at your option)
-any later version.
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -14,10 +14,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
-along with this program; see the file COPYING.  If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
-
-/* $Id$ */
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 struct a29k_opcode {
   /* Name of the instruction.  */
@@ -53,6 +51,7 @@ struct a29k_opcode {
      r        RND--bits 4-6 of the instruction.
      d        FD--bits 2-3 of the instruction.
      f        FS--bits 0-1 of the instruction.
+     I       ID--bits 16-17 of the instruction.
 
      Extensions for 29050:
 
@@ -63,11 +62,7 @@ struct a29k_opcode {
   char *args;
 };
 
-#ifndef CONST
-#define CONST
-#endif /* CONST */
-
-static CONST struct a29k_opcode a29k_opcodes[] =
+static const struct a29k_opcode a29k_opcodes[] =
 {
 
 { "add", 0x14000000, "c,a,b" },
@@ -181,9 +176,9 @@ static CONST struct a29k_opcode a29k_opcodes[] =
 { "inbyte", 0x0d000000, "c,a,i" },
 { "inhw", 0x78000000, "c,a,b" },
 { "inhw", 0x79000000, "c,a,i" },
-{ "inv", 0x9f000000, "" },
+{ "inv", 0x9f000000, "I" },
 { "iret", 0x88000000, "" },
-{ "iretinv", 0x8c000000, "" },
+{ "iretinv", 0x8c000000, "I" },
 { "jmp", 0xa0000000, "P" },
 { "jmp", 0xa1000000, "A" },
 { "jmpf", 0xa4000000, "a,P" },
@@ -283,38 +278,4 @@ static CONST struct a29k_opcode a29k_opcodes[] =
                           if we've run off the end of the table.  */
 };
 
-CONST unsigned int num_opcodes = (((sizeof a29k_opcodes) / (sizeof a29k_opcodes[0])) - 1);
-
-/*
- * $Log$
- * Revision 1.1  1991/12/01 02:22:19  sac
- * Initial revision
- *
- * Revision 1.5  1991/11/07  16:59:19  sac
- * Fixed encoding of mtacc instruction.
- *
- * Revision 1.4  1991/08/06  07:20:27  rich
- * Fixing CONST declarations.
- *
- * Revision 1.3  1991/08/05  22:31:05  rich
- * *** empty log message ***
- *
- * Revision 1.2  1991/07/15  23:34:04  steve
- * *** empty log message ***
- *
- * Revision 1.1  1991/05/19  00:19:33  rich
- * Initial revision
- *
- * Revision 1.1.1.1  1991/04/04  18:15:23  rich
- * new gas main line
- *
- * Revision 1.1  1991/04/04  18:15:23  rich
- * Initial revision
- *
- * Revision 1.2  1991/03/30  17:13:19  rich
- * num_opcodes now unsigned.  Also, added rcsid and log.
- *
- *
- */
-
-/* end of a29k-opcode.h */
+const unsigned int num_opcodes = (((sizeof a29k_opcodes) / (sizeof a29k_opcodes[0])) - 1);
This page took 0.02457 seconds and 4 git commands to generate.