X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Ftic80-dis.c;h=d9bf86ccf49a09432c257717553fb3464e7a1153;hb=bb7eff5206e4795ac79c177a80fe9f4630aaf730;hp=09df146031ccbe24aa81b86a697e030a7d6200a6;hpb=47b0e7ad8c60ea4b45b22ad5cb376f068991bc88;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/tic80-dis.c b/opcodes/tic80-dis.c index 09df146031..d9bf86ccf4 100644 --- a/opcodes/tic80-dis.c +++ b/opcodes/tic80-dis.c @@ -1,24 +1,25 @@ /* Print TI TMS320C80 (MVP) instructions - Copyright 1996, 1997, 1998, 2000, 2005 Free Software Foundation, Inc. + Copyright (C) 1996-2016 Free Software Foundation, Inc. - This file is free software; you can redistribute it and/or modify + 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 2 of the License, or - (at your option) any later version. + 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., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ -#include - #include "sysdep.h" +#include #include "opcode/tic80.h" #include "dis-asm.h" @@ -87,7 +88,7 @@ print_operand_bitnum (struct disassemble_info *info, long value) if (tmp != NULL) (*info->fprintf_func) (info->stream, "%s", tmp); else - (*info->fprintf_func) (info->stream, "%ld", bitnum); + (*info->fprintf_func) (info->stream, "%d", bitnum); } /* Print the operand as directed by the flags. */