Copyright update for binutils
[deliverable/binutils-gdb.git] / gas / config / rx-defs.h
CommitLineData
c7927a3c 1/* rx-defs.h Renesas RX internal definitions
6f2750fe 2 Copyright (C) 2008-2016 Free Software Foundation, Inc.
c7927a3c
NC
3
4 This file is part of GAS, the GNU Assembler.
5
6 GAS is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3, or (at your option)
9 any later version.
10
11 GAS is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GAS; see the file COPYING. If not, write to the Free
18 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
19 02110-1301, USA. */
20
21#ifndef RX_DEFS_H
f0c00282 22#define RX_DEFS_H
c7927a3c
NC
23
24/* Third operand to rx_op. */
25#define RXREL_SIGNED 0
26#define RXREL_UNSIGNED 1
27#define RXREL_NEGATIVE 2
28#define RXREL_PCREL 3
29#define RXREL_NEGATIVE_BORROW 4
30
31#define RX_RELAX_NONE 0
32#define RX_RELAX_BRANCH 1
33#define RX_RELAX_IMM 2
34#define RX_RELAX_DISP 3
35
f0c00282
NC
36enum rx_cpu_types
37{
38 RX600,
39 RX610,
40 RX200,
a117b0a5
YS
41 RX100,
42 RXV2
f0c00282
NC
43};
44
d4cb0ea0
NC
45extern int rx_pid_register;
46extern int rx_gp_register;
f0c00282 47extern enum rx_cpu_types rx_cpu;
d4cb0ea0 48
214ce7b5 49extern int rx_error (const char *);
c7927a3c
NC
50extern void rx_lex_init (char *, char *);
51extern void rx_base1 (int);
52extern void rx_base2 (int, int);
53extern void rx_base3 (int, int, int);
54extern void rx_base4 (int, int, int, int);
55extern void rx_field (int, int, int);
56extern void rx_op (expressionS, int, int);
57extern void rx_disp3 (expressionS, int);
58extern void rx_field5s (expressionS);
59extern void rx_field5s2 (expressionS);
60extern void rx_relax (int, int);
61extern void rx_linkrelax_dsp (int);
62extern void rx_linkrelax_imm (int);
63extern void rx_linkrelax_branch (void);
64extern int rx_parse (void);
65extern int rx_wrap (void);
3525236c 66extern void rx_note_string_insn_use (void);
c7927a3c
NC
67
68extern char * rx_lex_start;
69extern char * rx_lex_end;
f0c00282
NC
70
71#endif /* RX_DEFS_H */
This page took 0.275307 seconds and 4 git commands to generate.