rl78-defs.h revision 1.1 1 1.1 christos /* rl78-defs.h Renesas RL78 internal definitions
2 1.1 christos Copyright 2008, 2009
3 1.1 christos Free Software Foundation, Inc.
4 1.1 christos
5 1.1 christos This file is part of GAS, the GNU Assembler.
6 1.1 christos
7 1.1 christos GAS is free software; you can redistribute it and/or modify
8 1.1 christos it under the terms of the GNU General Public License as published by
9 1.1 christos the Free Software Foundation; either version 3, or (at your option)
10 1.1 christos any later version.
11 1.1 christos
12 1.1 christos GAS is distributed in the hope that it will be useful,
13 1.1 christos but WITHOUT ANY WARRANTY; without even the implied warranty of
14 1.1 christos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 1.1 christos GNU General Public License for more details.
16 1.1 christos
17 1.1 christos You should have received a copy of the GNU General Public License
18 1.1 christos along with GAS; see the file COPYING. If not, write to the Free
19 1.1 christos Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
20 1.1 christos 02110-1301, USA. */
21 1.1 christos
22 1.1 christos #ifndef RL78_DEFS_H
23 1.1 christos #define RL78_DEFS_H
24 1.1 christos
25 1.1 christos /* Third operand to rl78_op. */
26 1.1 christos #define RL78REL_DATA 0
27 1.1 christos #define RL78REL_PCREL 1
28 1.1 christos
29 1.1 christos extern int rl78_error (const char *);
30 1.1 christos extern void rl78_lex_init (char *, char *);
31 1.1 christos extern void rl78_prefix (int);
32 1.1 christos extern int rl78_has_prefix (void);
33 1.1 christos extern void rl78_base1 (int);
34 1.1 christos extern void rl78_base2 (int, int);
35 1.1 christos extern void rl78_base3 (int, int, int);
36 1.1 christos extern void rl78_base4 (int, int, int, int);
37 1.1 christos extern void rl78_field (int, int, int);
38 1.1 christos extern void rl78_op (expressionS, int, int);
39 1.1 christos extern void rl78_disp3 (expressionS, int);
40 1.1 christos extern void rl78_field5s (expressionS);
41 1.1 christos extern void rl78_field5s2 (expressionS);
42 1.1 christos extern void rl78_relax (int, int);
43 1.1 christos extern void rl78_linkrelax_addr16 (void);
44 1.1 christos extern void rl78_linkrelax_branch (void);
45 1.1 christos extern int rl78_parse (void);
46 1.1 christos extern int rl78_wrap (void);
47 1.1 christos
48 1.1 christos extern char * rl78_lex_start;
49 1.1 christos extern char * rl78_lex_end;
50 1.1 christos #endif
51