1999-05-03 09:29:11 +02:00
|
|
|
/* tc-tic30.h -- Header file for tc-tic30.c
|
2014-03-05 12:46:15 +01:00
|
|
|
Copyright (C) 1998-2014 Free Software Foundation, Inc.
|
1999-05-03 09:29:11 +02:00
|
|
|
Contributed by Steven Haworth (steve@pm.cse.rmit.edu.au)
|
|
|
|
|
|
|
|
This file is part of GAS, the GNU Assembler.
|
|
|
|
|
|
|
|
GAS is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
2007-07-03 13:01:12 +02:00
|
|
|
the Free Software Foundation; either version 3, or (at your option)
|
1999-05-03 09:29:11 +02:00
|
|
|
any later version.
|
|
|
|
|
|
|
|
GAS is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with GAS; see the file COPYING. If not, write to the Free
|
2005-05-05 11:13:19 +02:00
|
|
|
Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
|
|
|
|
02110-1301, USA. */
|
1999-05-03 09:29:11 +02:00
|
|
|
|
|
|
|
#ifndef _TC_TIC30_H_
|
|
|
|
#define _TC_TIC30_H_
|
|
|
|
|
|
|
|
#define TC_TIC30 1
|
|
|
|
|
|
|
|
#ifdef OBJ_AOUT
|
|
|
|
#define TARGET_FORMAT "a.out-tic30"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define TARGET_ARCH bfd_arch_tic30
|
|
|
|
#define TARGET_BYTES_BIG_ENDIAN 1
|
|
|
|
#define WORKING_DOT_WORD
|
2005-03-23 12:18:14 +01:00
|
|
|
#define END_OF_INSN '\0'
|
|
|
|
#define MAX_OPERANDS 6
|
|
|
|
#define DIRECT_REFERENCE '@'
|
|
|
|
#define INDIRECT_REFERENCE '*'
|
|
|
|
#define PARALLEL_SEPARATOR '|'
|
|
|
|
#define INSN_SIZE 4
|
1999-05-03 09:29:11 +02:00
|
|
|
|
|
|
|
/* Define this to 1 if you want the debug output to be on stdout,
|
|
|
|
otherwise stderr will be used. If stderr is used, there will be a
|
|
|
|
better synchronisation with the as_bad outputs, but you can't
|
2000-09-15 03:06:52 +02:00
|
|
|
capture the output. */
|
2005-03-23 12:18:14 +01:00
|
|
|
#define USE_STDOUT 0
|
1999-05-03 09:29:11 +02:00
|
|
|
|
|
|
|
#define tc_unrecognized_line tic30_unrecognized_line
|
|
|
|
|
2005-03-23 12:18:14 +01:00
|
|
|
extern int tic30_unrecognized_line (int);
|
1999-05-03 09:29:11 +02:00
|
|
|
|
|
|
|
#endif
|