OLD | NEW |
1 /* s390-dis.c -- Disassemble S390 instructions | 1 /* s390-dis.c -- Disassemble S390 instructions |
2 Copyright 2000, 2001, 2002, 2003, 2005, 2007, 2008 | 2 Copyright 2000, 2001, 2002, 2003, 2005, 2007, 2008, 2012 |
3 Free Software Foundation, Inc. | 3 Free Software Foundation, Inc. |
4 Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com). | 4 Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com). |
5 | 5 |
6 This file is part of the GNU opcodes library. | 6 This file is part of the GNU opcodes library. |
7 | 7 |
8 This library is free software; you can redistribute it and/or modify | 8 This library is free software; you can redistribute it and/or modify |
9 it under the terms of the GNU General Public License as published by | 9 it under the terms of the GNU General Public License as published by |
10 the Free Software Foundation; either version 3, or (at your option) | 10 the Free Software Foundation; either version 3, or (at your option) |
11 any later version. | 11 any later version. |
12 | 12 |
13 It is distributed in the hope that it will be useful, but WITHOUT | 13 It is distributed in the hope that it will be useful, but WITHOUT |
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | 14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | 15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public |
16 License for more details. | 16 License for more details. |
17 | 17 |
18 You should have received a copy of the GNU General Public License | 18 You should have received a copy of the GNU General Public License |
19 along with this file; see the file COPYING. If not, write to the | 19 along with this file; see the file COPYING. If not, write to the |
20 Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, | 20 Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, |
21 MA 02110-1301, USA. */ | 21 MA 02110-1301, USA. */ |
22 | 22 |
| 23 #include "sysdep.h" |
23 #include <stdio.h> | 24 #include <stdio.h> |
24 #include "ansidecl.h" | 25 #include "ansidecl.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 "opcode/s390.h" | 28 #include "opcode/s390.h" |
29 | 29 |
30 static int init_flag = 0; | 30 static int init_flag = 0; |
31 static int opc_index[256]; | 31 static int opc_index[256]; |
32 static int current_arch_mask = 0; | 32 static int current_arch_mask = 0; |
33 | 33 |
34 /* Set up index table for first opcode byte. */ | 34 /* Set up index table for first opcode byte. */ |
35 | 35 |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 void | 298 void |
299 print_s390_disassembler_options (FILE *stream) | 299 print_s390_disassembler_options (FILE *stream) |
300 { | 300 { |
301 fprintf (stream, _("\n\ | 301 fprintf (stream, _("\n\ |
302 The following S/390 specific disassembler options are supported for use\n\ | 302 The following S/390 specific disassembler options are supported for use\n\ |
303 with the -M switch (multiple options should be separated by commas):\n")); | 303 with the -M switch (multiple options should be separated by commas):\n")); |
304 | 304 |
305 fprintf (stream, _(" esa Disassemble in ESA architecture mode\n")); | 305 fprintf (stream, _(" esa Disassemble in ESA architecture mode\n")); |
306 fprintf (stream, _(" zarch Disassemble in z/Architecture mode\n")); | 306 fprintf (stream, _(" zarch Disassemble in z/Architecture mode\n")); |
307 } | 307 } |
OLD | NEW |