2011-05-27 Pedro Alves <pedro@codesourcery.com>
[deliverable/binutils-gdb.git] / gas / config / rx-defs.h
CommitLineData
c7927a3c
NC
1/* rx-defs.h Renesas RX internal definitions
2 Copyright 2008, 2009
3 Free Software Foundation, Inc.
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 RX_DEFS_H
23#define RX_DEFS_H
24
25/* Third operand to rx_op. */
26#define RXREL_SIGNED 0
27#define RXREL_UNSIGNED 1
28#define RXREL_NEGATIVE 2
29#define RXREL_PCREL 3
30#define RXREL_NEGATIVE_BORROW 4
31
32#define RX_RELAX_NONE 0
33#define RX_RELAX_BRANCH 1
34#define RX_RELAX_IMM 2
35#define RX_RELAX_DISP 3
36
37extern int rx_error (char *);
38extern void rx_lex_init (char *, char *);
39extern void rx_base1 (int);
40extern void rx_base2 (int, int);
41extern void rx_base3 (int, int, int);
42extern void rx_base4 (int, int, int, int);
43extern void rx_field (int, int, int);
44extern void rx_op (expressionS, int, int);
45extern void rx_disp3 (expressionS, int);
46extern void rx_field5s (expressionS);
47extern void rx_field5s2 (expressionS);
48extern void rx_relax (int, int);
49extern void rx_linkrelax_dsp (int);
50extern void rx_linkrelax_imm (int);
51extern void rx_linkrelax_branch (void);
52extern int rx_parse (void);
53extern int rx_wrap (void);
54
55extern char * rx_lex_start;
56extern char * rx_lex_end;
57#endif
This page took 0.1511 seconds and 4 git commands to generate.