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