struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / sdas / asxxsrc / sdas.h
blob2cbb804d40f5cafa9a8b24e5e6a6968936bd3308
1 /* sdas.h
3 Copyright (C) 2009 Borut Razem
5 This program is free software; you can redistribute it and/or modify it
6 under the terms of the GNU General Public License as published by the
7 Free Software Foundation; either version 3, or (at your option) any
8 later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
18 #ifndef __SDAS_H
19 #define __SDAS_H
21 enum sdas_target_e {
22 TARGET_ID_UNKNOWN,
23 TARGET_ID_GB,
24 TARGET_ID_Z80,
25 TARGET_ID_8051,
26 TARGET_ID_DS390,
27 TARGET_ID_6808,
28 TARGET_ID_STM8,
29 TARGET_ID_PDK13 = 13,
30 TARGET_ID_PDK14 = 14,
31 TARGET_ID_PDK15 = 15,
32 TARGET_ID_PDK16 = 16,
35 void sdas_init (char *path);
36 int is_sdas(void);
37 enum sdas_target_e get_sdas_target(void);
38 void set_sdas_target(enum sdas_target_e);
39 int is_sdas_target_z80_like(void);
40 int is_sdas_target_8051_like(void);
41 int is_sdas_target_stm8(void);
42 int is_sdas_target_pdk(void);
44 #endif /* __SDAS_H */