tc-tic30.h 1.6 KB

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