| OLD | NEW |
| 1 /* Opcode table for TI TMS320C80 (MVP). | 1 /* Opcode table for TI TMS320C80 (MVP). |
| 2 Copyright 1996, 1997, 2000, 2005, 2007 Free Software Foundation, Inc. | 2 Copyright 1996, 1997, 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 file; see the file COPYING. If not, write to the | 18 along with this file; see the file COPYING. If not, write to the |
| 18 Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, | 19 Free Software Foundation, 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 #include "sysdep.h" | |
| 23 #include "opcode/tic80.h" | 24 #include "opcode/tic80.h" |
| 24 | 25 |
| 25 /* This file holds various tables for the TMS320C80 (MVP). | 26 /* This file holds various tables for the TMS320C80 (MVP). |
| 26 | 27 |
| 27 The opcode table is strictly constant data, so the compiler should | 28 The opcode table is strictly constant data, so the compiler should |
| 28 be able to put it in the .text section. | 29 be able to put it in the .text section. |
| 29 | 30 |
| 30 This file also holds the operand table. All knowledge about | 31 This file also holds the operand table. All knowledge about |
| 31 inserting operands into instructions and vice-versa is kept in this | 32 inserting operands into instructions and vice-versa is kept in this |
| 32 file. | 33 file. |
| (...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1211 {"xnor", OP_LI(0x333), MASK_LI, 0, {LUBF, REG_22, REG_DEST}
}, | 1212 {"xnor", OP_LI(0x333), MASK_LI, 0, {LUBF, REG_22, REG_DEST}
}, |
| 1212 {"xnor", OP_REG(0x332), MASK_REG, 0, {REG_0, REG_22, REG_DEST
} }, | 1213 {"xnor", OP_REG(0x332), MASK_REG, 0, {REG_0, REG_22, REG_DEST
} }, |
| 1213 | 1214 |
| 1214 {"xor", OP_SI(0x16), MASK_SI, 0, {SUBF, REG_22, REG_DEST}
}, | 1215 {"xor", OP_SI(0x16), MASK_SI, 0, {SUBF, REG_22, REG_DEST}
}, |
| 1215 {"xor", OP_LI(0x32D), MASK_LI, 0, {LUBF, REG_22, REG_DEST}
}, | 1216 {"xor", OP_LI(0x32D), MASK_LI, 0, {LUBF, REG_22, REG_DEST}
}, |
| 1216 {"xor", OP_REG(0x32C), MASK_REG, 0, {REG_0, REG_22, REG_DEST
} }, | 1217 {"xor", OP_REG(0x32C), MASK_REG, 0, {REG_0, REG_22, REG_DEST
} }, |
| 1217 | 1218 |
| 1218 }; | 1219 }; |
| 1219 | 1220 |
| 1220 const int tic80_num_opcodes = sizeof (tic80_opcodes) / sizeof (tic80_opcodes[0])
; | 1221 const int tic80_num_opcodes = sizeof (tic80_opcodes) / sizeof (tic80_opcodes[0])
; |
| OLD | NEW |