| OLD | NEW |
| 1 /* Disassemble MN10200 instructions. | 1 /* Disassemble MN10200 instructions. |
| 2 Copyright 1996, 1997, 1998, 2000, 2005, 2007 Free Software Foundation, Inc. | 2 Copyright 1996, 1997, 1998, 2000, 2005, 2007, 2012 |
| 3 Free Software Foundation, Inc. |
| 3 | 4 |
| 4 This file is part of the GNU opcodes library. | 5 This file is part of the GNU opcodes library. |
| 5 | 6 |
| 6 This library is free software; you can redistribute it and/or modify | 7 This library is free software; you can redistribute it and/or modify |
| 7 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
| 8 the Free Software Foundation; either version 3, or (at your option) | 9 the Free Software Foundation; either version 3, or (at your option) |
| 9 any later version. | 10 any later version. |
| 10 | 11 |
| 11 It is distributed in the hope that it will be useful, but WITHOUT | 12 It is distributed in the hope that it will be useful, but WITHOUT |
| 12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | 13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 13 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | 14 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public |
| 14 License for more details. | 15 License for more details. |
| 15 | 16 |
| 16 You should have received a copy of the GNU General Public License | 17 You should have received a copy of the GNU General Public License |
| 17 along with this program; if not, write to the Free Software | 18 along with this program; if not, write to the Free Software |
| 18 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, | 19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, |
| 19 MA 02110-1301, USA. */ | 20 MA 02110-1301, USA. */ |
| 20 | 21 |
| 22 #include "sysdep.h" |
| 21 #include <stdio.h> | 23 #include <stdio.h> |
| 22 | |
| 23 #include "sysdep.h" | |
| 24 #include "opcode/mn10200.h" | 24 #include "opcode/mn10200.h" |
| 25 #include "dis-asm.h" | 25 #include "dis-asm.h" |
| 26 #include "opintl.h" | 26 #include "opintl.h" |
| 27 | 27 |
| 28 static void | 28 static void |
| 29 disassemble (bfd_vma memaddr, | 29 disassemble (bfd_vma memaddr, |
| 30 struct disassemble_info *info, | 30 struct disassemble_info *info, |
| 31 unsigned long insn, | 31 unsigned long insn, |
| 32 unsigned long extension, | 32 unsigned long extension, |
| 33 unsigned int size) | 33 unsigned int size) |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 else | 326 else |
| 327 { | 327 { |
| 328 (*info->fprintf_func) (info->stream, _("unknown\t0x%02lx"), insn); | 328 (*info->fprintf_func) (info->stream, _("unknown\t0x%02lx"), insn); |
| 329 return 1; | 329 return 1; |
| 330 } | 330 } |
| 331 | 331 |
| 332 disassemble (memaddr, info, insn, extension, consume); | 332 disassemble (memaddr, info, insn, extension, consume); |
| 333 | 333 |
| 334 return consume; | 334 return consume; |
| 335 } | 335 } |
| OLD | NEW |