X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fw65-opc.h;h=b3b88d92b639519177b22a30f69f45a8276d6ba8;hb=6ddf779d8ed3d9411976716e2b617c2aa1b9c6c6;hp=9dc3535c787ff36d33fd477a264b80ecc881ff0b;hpb=5b64ad42d36e6d487e1f7287d37fbc243a178e72;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/w65-opc.h b/opcodes/w65-opc.h index 9dc3535c78..b3b88d92b6 100644 --- a/opcodes/w65-opc.h +++ b/opcodes/w65-opc.h @@ -1,5 +1,25 @@ - /* 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 (C) 2001-2014 Free Software Foundation, Inc. + + This file is part of the GNU opcodes library. + + 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. + + 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 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 */ #define ADDR_IMMTOI 3 /* #i */ @@ -33,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 @@ -381,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()\