xref: /netbsd-src/external/gpl3/binutils/dist/gas/config/tc-tic30.h (revision cb63e24e8d6aae7ddac1859a9015f48b1d8bd90e)
1 /* tc-tic30.h -- Header file for tc-tic30.c
2    Copyright (C) 1998-2024 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 #define TARGET_ARCH		bfd_arch_tic30
28 #define TARGET_BYTES_BIG_ENDIAN	1
29 #define WORKING_DOT_WORD
30 #define END_OF_INSN 		'\0'
31 #define MAX_OPERANDS 		6
32 #define DIRECT_REFERENCE 	'@'
33 #define INDIRECT_REFERENCE 	'*'
34 #define PARALLEL_SEPARATOR 	'|'
35 #define INSN_SIZE 		4
36 
37 /* Define this to 1 if you want the debug output to be on stdout,
38    otherwise stderr will be used.  If stderr is used, there will be a
39    better synchronisation with the as_bad outputs, but you can't
40    capture the output.  */
41 #define USE_STDOUT 		0
42 
43 #define tc_unrecognized_line tic30_unrecognized_line
44 
45 extern int tic30_unrecognized_line (int);
46 
47 #endif
48