X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fw65-opc.h;h=ddef8a6e44265129754c5d10a0af4b052d4e43a2;hb=45e481d13b770b743fb0be9d9f5fe8c0e03c2a12;hp=a6e17df2ce5e57f1e9aaddd8d22f816df5ad2dc6;hpb=060d22b0d0cbc7786f83c236ed9812343530dc80;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/w65-opc.h b/opcodes/w65-opc.h index a6e17df2ce..ddef8a6e44 100644 --- a/opcodes/w65-opc.h +++ b/opcodes/w65-opc.h @@ -1,25 +1,24 @@ /* Instruction opcode header for WDC 65816 (generated by the program sim/w65/gencode -a) -Copyright 2001 Free Software Foundation, Inc. + Copyright 2001, 2002, 2005, 2007 Free Software Foundation, Inc. -This file is part of the GNU Binutils and/or GDB, the GNU debugger. + This file is part of the GNU opcodes library. -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 library 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 3, 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. + It 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. - -*/ + You should have received a copy of the GNU General Public License + along with this file; see the file COPYING. If not, write to the + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ #define ADDR_IMMTOA 1 /* #a */ #define ADDR_IMMCOP 2 /* #c */ @@ -54,7 +53,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 @@ -402,7 +401,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()\