1 | /* tc-tic30.h -- Header file for tc-tic30.c
|
---|
2 | Copyright 1998, 2000 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 2, 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, 59 Temple Place - Suite 330, Boston, MA
|
---|
20 | 02111-1307, 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 |
|
---|
34 | #define WORKING_DOT_WORD
|
---|
35 |
|
---|
36 | char *output_invalid PARAMS ((int c));
|
---|
37 |
|
---|
38 | #define END_OF_INSN '\0'
|
---|
39 | #define MAX_OPERANDS 6
|
---|
40 | #define DIRECT_REFERENCE '@'
|
---|
41 | #define INDIRECT_REFERENCE '*'
|
---|
42 | #define PARALLEL_SEPARATOR '|'
|
---|
43 | #define INSN_SIZE 4
|
---|
44 |
|
---|
45 | /* Define this to 1 if you want the debug output to be on stdout,
|
---|
46 | otherwise stderr will be used. If stderr is used, there will be a
|
---|
47 | better synchronisation with the as_bad outputs, but you can't
|
---|
48 | capture the output. */
|
---|
49 | #define USE_STDOUT 0
|
---|
50 |
|
---|
51 | #define tc_unrecognized_line tic30_unrecognized_line
|
---|
52 |
|
---|
53 | extern int tic30_unrecognized_line PARAMS ((int));
|
---|
54 |
|
---|
55 | #define tc_aout_pre_write_hook {}
|
---|
56 |
|
---|
57 | #endif
|
---|