X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=opcodes%2Fm10200-opc.c;h=c103e1d88a54bfe3f19780e8d99b10d5944eecce;hb=fa16423949fc78b3d9c499eddefa91b99228fbc9;hp=ad41296fbf7af947b643bce8908724464d8b5f6f;hpb=01f0fe5e0450edf168c1f612feb93cf588e4e7ea;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/m10200-opc.c b/opcodes/m10200-opc.c index ad41296fbf..c103e1d88a 100644 --- a/opcodes/m10200-opc.c +++ b/opcodes/m10200-opc.c @@ -1,19 +1,22 @@ /* Assemble Matsushita MN10200 instructions. - Copyright 1996, 1997, 2000 Free Software Foundation, Inc. + Copyright (C) 1996-2020 Free Software Foundation, Inc. -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 of the License, or -(at your option) any later version. + This file is part of the GNU opcodes library. -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. + 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. -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., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ + 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., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ #include "sysdep.h" #include "opcode/mn10200.h" @@ -21,7 +24,7 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. const struct mn10200_operand mn10200_operands[] = { #define UNUSED 0 - {0, 0, 0}, + {0, 0, 0}, /* dn register in the first register operand position. */ #define DN0 (UNUSED+1) @@ -127,7 +130,7 @@ const struct mn10200_operand mn10200_operands[] = { /* Either an open paren or close paren. */ #define PAREN (SIMM16N+1) - {0, 0, MN10200_OPERAND_PAREN}, + {0, 0, MN10200_OPERAND_PAREN}, /* dn register that appears in the first and second register positions. */ #define DN01 (PAREN+1) @@ -136,10 +139,10 @@ const struct mn10200_operand mn10200_operands[] = { /* an register that appears in the first and second register positions. */ #define AN01 (DN01+1) {2, 0, MN10200_OPERAND_AREG | MN10200_OPERAND_REPEATED}, -} ; +} ; -#define MEM(ADDR) PAREN, ADDR, PAREN -#define MEM2(ADDR1,ADDR2) PAREN, ADDR1, ADDR2, PAREN +#define MEM(ADDR) PAREN, ADDR, PAREN +#define MEM2(ADDR1,ADDR2) PAREN, ADDR1, ADDR2, PAREN /* The opcode table.