1 /* rl78-defs.h Renesas RL78 internal definitions
2 Copyright (C) 2008-2024 Free Software Foundation, Inc.
4 This file is part of GAS, the GNU Assembler.
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)
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.
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
24 /* Third operand to rl78_op. */
25 #define RL78REL_DATA 0
26 #define RL78REL_PCREL 1
28 #define RL78_RELAX_NONE 0
29 #define RL78_RELAX_BRANCH 1
31 extern int rl78_error (const char *);
32 extern void rl78_lex_init (char *, char *);
33 extern void rl78_prefix (int);
34 extern int rl78_has_prefix (void);
35 extern void rl78_base1 (int);
36 extern void rl78_base2 (int, int);
37 extern void rl78_base3 (int, int, int);
38 extern void rl78_base4 (int, int, int, int);
39 extern void rl78_field (int, int, int);
40 extern void rl78_op (expressionS
, int, int);
41 extern void rl78_disp3 (expressionS
, int);
42 extern void rl78_field5s (expressionS
);
43 extern void rl78_field5s2 (expressionS
);
44 extern void rl78_relax (int, int);
45 extern void rl78_linkrelax_addr16 (void);
46 extern void rl78_linkrelax_branch (void);
47 extern int rl78_parse (void);
48 extern int rl78_wrap (void);
50 extern int rl78_isa_g10 (void);
51 extern int rl78_isa_g13 (void);
52 extern int rl78_isa_g14 (void);
54 extern char * rl78_lex_start
;
55 extern char * rl78_lex_end
;