| 1 | /* tc-tic30.h -- Header file for tc-tic30.c |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. |
| 3 | Contributed by Steven Haworth (steve@pm.cse.rmit.edu.au) |
| 4 | |
| 5 | This file is part of GAS, the GNU Assembler. |
| 6 | |
| 7 | GAS is free software; you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation; either version 3, or (at your option) |
| 10 | any later version. |
| 11 | |
| 12 | GAS is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | GNU General Public License for more details. |
| 16 | |
| 17 | You should have received a copy of the GNU General Public License |
| 18 | along with GAS; see the file COPYING. If not, write to the Free |
| 19 | Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA |
| 20 | 02110-1301, USA. */ |
| 21 | |
| 22 | #ifndef _TC_TIC30_H_ |
| 23 | #define _TC_TIC30_H_ |
| 24 | |
| 25 | #define TC_TIC30 1 |
| 26 | |
| 27 | #ifdef OBJ_AOUT |
| 28 | #define TARGET_FORMAT "a.out-tic30" |
| 29 | #endif |
| 30 | |
| 31 | #define TARGET_ARCH bfd_arch_tic30 |
| 32 | #define TARGET_BYTES_BIG_ENDIAN 1 |
| 33 | #define WORKING_DOT_WORD |
| 34 | #define END_OF_INSN '\0' |
| 35 | #define MAX_OPERANDS 6 |
| 36 | #define DIRECT_REFERENCE '@' |
| 37 | #define INDIRECT_REFERENCE '*' |
| 38 | #define PARALLEL_SEPARATOR '|' |
| 39 | #define INSN_SIZE 4 |
| 40 | |
| 41 | /* Define this to 1 if you want the debug output to be on stdout, |
| 42 | otherwise stderr will be used. If stderr is used, there will be a |
| 43 | better synchronisation with the as_bad outputs, but you can't |
| 44 | capture the output. */ |
| 45 | #define USE_STDOUT 0 |
| 46 | |
| 47 | #define tc_unrecognized_line tic30_unrecognized_line |
| 48 | |
| 49 | extern int tic30_unrecognized_line (int); |
| 50 | |
| 51 | #endif |