OLD | NEW |
1 /* mips16-opc.c. Mips16 opcode table. | 1 /* mips16-opc.c. Mips16 opcode table. |
2 Copyright 1996, 1997, 1998, 2000, 2005, 2006, 2007 | 2 Copyright 1996, 1997, 1998, 2000, 2005, 2006, 2007, 2012 |
3 Free Software Foundation, Inc. | 3 Free Software Foundation, Inc. |
4 Contributed by Ian Lance Taylor, Cygnus Support | 4 Contributed by Ian Lance Taylor, Cygnus Support |
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 "sysdep.h" | |
25 #include "opcode/mips.h" | 25 #include "opcode/mips.h" |
26 | 26 |
27 /* This is the opcodes table for the mips16 processor. The format of | 27 /* This is the opcodes table for the mips16 processor. The format of |
28 this table is intentionally identical to the one in mips-opc.c. | 28 this table is intentionally identical to the one in mips-opc.c. |
29 However, the special letters that appear in the argument string are | 29 However, the special letters that appear in the argument string are |
30 different, and the table uses some different flags. */ | 30 different, and the table uses some different flags. */ |
31 | 31 |
32 /* Use some short hand macros to keep down the length of the lines in | 32 /* Use some short hand macros to keep down the length of the lines in |
33 the opcodes table. */ | 33 the opcodes table. */ |
34 | 34 |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 {"seb", "x", 0xe891, 0xf8ff, WR_x|RD_x, 0, I32 }, | 241 {"seb", "x", 0xe891, 0xf8ff, WR_x|RD_x, 0, I32 }, |
242 {"seh", "x", 0xe8b1, 0xf8ff, WR_x|RD_x, 0, I32 }, | 242 {"seh", "x", 0xe8b1, 0xf8ff, WR_x|RD_x, 0, I32 }, |
243 {"sew", "x", 0xe8d1, 0xf8ff, WR_x|RD_x, 0, I64 }, | 243 {"sew", "x", 0xe8d1, 0xf8ff, WR_x|RD_x, 0, I64 }, |
244 {"zeb", "x", 0xe811, 0xf8ff, WR_x|RD_x, 0, I32 }, | 244 {"zeb", "x", 0xe811, 0xf8ff, WR_x|RD_x, 0, I32 }, |
245 {"zeh", "x", 0xe831, 0xf8ff, WR_x|RD_x, 0, I32 }, | 245 {"zeh", "x", 0xe831, 0xf8ff, WR_x|RD_x, 0, I32 }, |
246 {"zew", "x", 0xe851, 0xf8ff, WR_x|RD_x, 0, I64 }, | 246 {"zew", "x", 0xe851, 0xf8ff, WR_x|RD_x, 0, I64 }, |
247 }; | 247 }; |
248 | 248 |
249 const int bfd_mips16_num_opcodes = | 249 const int bfd_mips16_num_opcodes = |
250 ((sizeof mips16_opcodes) / (sizeof (mips16_opcodes[0]))); | 250 ((sizeof mips16_opcodes) / (sizeof (mips16_opcodes[0]))); |
OLD | NEW |