| OLD | NEW |
| 1 /* Disassemble AVR instructions. | 1 /* Disassemble AVR instructions. |
| 2 Copyright 1999, 2000, 2002, 2004, 2005, 2006, 2007, 2008 | 2 Copyright 1999, 2000, 2002, 2004, 2005, 2006, 2007, 2008, 2012 |
| 3 Free Software Foundation, Inc. | 3 Free Software Foundation, Inc. |
| 4 | 4 |
| 5 Contributed by Denis Chertykov <denisc@overta.ru> | 5 Contributed by Denis Chertykov <denisc@overta.ru> |
| 6 | 6 |
| 7 This file is part of libopcodes. | 7 This file is part of libopcodes. |
| 8 | 8 |
| 9 This library is free software; you can redistribute it and/or modify | 9 This library is free software; you can redistribute it and/or modify |
| 10 it under the terms of the GNU General Public License as published by | 10 it under the terms of the GNU General Public License as published by |
| 11 the Free Software Foundation; either version 3, or (at your option) | 11 the Free Software Foundation; either version 3, or (at your option) |
| 12 any later version. | 12 any later version. |
| 13 | 13 |
| 14 It is distributed in the hope that it will be useful, but WITHOUT | 14 It is distributed in the hope that it will be useful, but WITHOUT |
| 15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | 15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 16 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | 16 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public |
| 17 License for more details. | 17 License for more details. |
| 18 | 18 |
| 19 You should have received a copy of the GNU General Public License | 19 You should have received a copy of the GNU General Public License |
| 20 along with this program; if not, write to the Free Software | 20 along with this program; if not, write to the Free Software |
| 21 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, | 21 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, |
| 22 MA 02110-1301, USA. */ | 22 MA 02110-1301, USA. */ |
| 23 | 23 |
| 24 #include "sysdep.h" |
| 24 #include <assert.h> | 25 #include <assert.h> |
| 25 #include "sysdep.h" | |
| 26 #include "dis-asm.h" | 26 #include "dis-asm.h" |
| 27 #include "opintl.h" | 27 #include "opintl.h" |
| 28 #include "libiberty.h" | 28 #include "libiberty.h" |
| 29 | 29 |
| 30 struct avr_opcodes_s | 30 struct avr_opcodes_s |
| 31 { | 31 { |
| 32 char *name; | 32 char *name; |
| 33 char *constraints; | 33 char *constraints; |
| 34 char *opcode; | 34 char *opcode; |
| 35 int insn_size; /* In words. */ | 35 int insn_size; /* In words. */ |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 info->print_address_func (sym_addr1, info); | 394 info->print_address_func (sym_addr1, info); |
| 395 | 395 |
| 396 if (*comment2) | 396 if (*comment2) |
| 397 (*prin) (stream, " %s", comment2); | 397 (*prin) (stream, " %s", comment2); |
| 398 | 398 |
| 399 if (sym_op2) | 399 if (sym_op2) |
| 400 info->print_address_func (sym_addr2, info); | 400 info->print_address_func (sym_addr2, info); |
| 401 | 401 |
| 402 return cmd_len; | 402 return cmd_len; |
| 403 } | 403 } |
| OLD | NEW |