OLD | NEW |
1 /* d10v-opc.c -- D10V opcode list | 1 /* d10v-opc.c -- D10V opcode list |
2 Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2005, 2007 | 2 Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2005, 2007, 2012 |
3 Free Software Foundation, Inc. | 3 Free Software Foundation, Inc. |
4 Written by Martin Hunt, Cygnus Support | 4 Written by Martin Hunt, 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 Free | 19 along with this file; see the file COPYING. If not, write to the Free |
20 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, | 20 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/d10v.h" | 25 #include "opcode/d10v.h" |
26 | 26 |
27 | 27 |
28 /* The table is sorted. Suitable for searching by a binary search. */ | 28 /* The table is sorted. Suitable for searching by a binary search. */ |
29 const struct pd_reg d10v_predefined_registers[] = | 29 const struct pd_reg d10v_predefined_registers[] = |
30 { | 30 { |
31 { "a0", NULL, OPERAND_ACC0+0 }, | 31 { "a0", NULL, OPERAND_ACC0+0 }, |
32 { "a1", NULL, OPERAND_ACC1+1 }, | 32 { "a1", NULL, OPERAND_ACC1+1 }, |
33 { "bpc", NULL, OPERAND_CONTROL+3 }, | 33 { "bpc", NULL, OPERAND_CONTROL+3 }, |
34 { "bpsw", NULL, OPERAND_CONTROL+1 }, | 34 { "bpsw", NULL, OPERAND_CONTROL+1 }, |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 { "trap", SHORT_2, 5, MU, ALONE|BRANCH_LINK|PAR, 0x5f00, 0x7fe1, { UNUM4 } }, | 342 { "trap", SHORT_2, 5, MU, ALONE|BRANCH_LINK|PAR, 0x5f00, 0x7fe1, { UNUM4 } }, |
343 { "tst0i", LONG_L, 1, MU, SEQ, 0x7000000, 0x3f0f0000, { RSRC2, NUM16 } }, | 343 { "tst0i", LONG_L, 1, MU, SEQ, 0x7000000, 0x3f0f0000, { RSRC2, NUM16 } }, |
344 { "tst1i", LONG_L, 1, MU, SEQ, 0xf000000, 0x3f0f0000, { RSRC2, NUM16 } }, | 344 { "tst1i", LONG_L, 1, MU, SEQ, 0xf000000, 0x3f0f0000, { RSRC2, NUM16 } }, |
345 { "wait", SHORT_2, 1, MU, ALONE|PAR, 0x5f80, 0x7fff, { 0 } }, | 345 { "wait", SHORT_2, 1, MU, ALONE|PAR, 0x5f80, 0x7fff, { 0 } }, |
346 { "xor", SHORT_2, 1, EITHER, PAR, 0xa00, 0x7e01, { RDST, RSRC } }, | 346 { "xor", SHORT_2, 1, EITHER, PAR, 0xa00, 0x7e01, { RDST, RSRC } }, |
347 { "xor3", LONG_L, 1, MU, SEQ, 0x5000000, 0x3f000000, { RDST, RSRC, NUM16 } }, | 347 { "xor3", LONG_L, 1, MU, SEQ, 0x5000000, 0x3f000000, { RDST, RSRC, NUM16 } }, |
348 { 0, 0, 0, 0, 0, 0, 0, { 0 } }, | 348 { 0, 0, 0, 0, 0, 0, 0, { 0 } }, |
349 }; | 349 }; |
350 | 350 |
351 | 351 |
OLD | NEW |