2004-05-08 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / opcodes / w65-opc.h
index 9dc3535c787ff36d33fd477a264b80ecc881ff0b..cb7fddafb2a75e37d1c6f504d53962fff8aee93f 100644 (file)
@@ -1,5 +1,26 @@
-                       /* WDC 65816 Assembler opcode table */
-                       /*   (generated by the program sim/w65/gencode -a) */
+/* Instruction opcode header for WDC 65816 
+   (generated by the program sim/w65/gencode -a)
+
+Copyright 2001 Free Software Foundation, Inc.
+
+This file is part of the GNU Binutils and/or GDB, the GNU debugger.
+
+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 2, 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
+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; if not, write to the Free Software Foundation, Inc.,
+59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+*/
+
 #define ADDR_IMMTOA              1      /* #a      */
 #define ADDR_IMMCOP              2      /* #c      */
 #define ADDR_IMMTOI              3      /* #i      */
@@ -33,7 +54,7 @@ struct opinfo {
        char *name;
        int amode;
 };
-struct opinfo optable[257]={
+const struct opinfo optable[257]={
 #define O_adc 1
 #define O_and 2
 #define O_asl 3
@@ -381,7 +402,7 @@ struct opinfo optable[257]={
        {0x42,  O_wdm,  "wdm",  ADDR_IMPLIED},
        {0xEB,  O_xba,  "xba",  ADDR_IMPLIED},
        {0xFB,  O_xce,  "xce",  ADDR_IMPLIED},
-       { 0 }
+       { 0, 0, NULL, 0 }
 };
 #endif
 #define DISASM()\
This page took 0.023683 seconds and 4 git commands to generate.