Debian Codegraph @

src/asm/config.h

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
1 //cxx . . $ `<file>/src/asm/config.h`/
2 // ACME - a crossassembler for producing 6502/65c02/65816 code.
3 // Copyright (C) 1998-2006 Marco Baye
4 // Have a look at "acme.c" for further info
5 //
6 // Configuration
7 #ifndef config_H
8 #define config_Hcxx . . $ `src/asm/config.h:8:9`!
9
•10 #include <stdbool.h>
11
12 // types
13 typedef unsigned int zone_tcxx . . $ zone_t#;
14 typedef signed long intval_tcxx . . $ intval_t#; // at least 32 bits
15 #define INTVAL_MAXCHARACTERScxx . . $ `src/asm/config.h:15:9`! 11 // -2^32 takes 11 characters
16 typedef unsigned long uintval_tcxx . . $ uintval_t#; // just for logical shift right
17 typedef struct node_ra_tcxx . . $ node_ra_t# node_ra_tcxx . . $ node_ra_t#;
18 typedef struct node_tcxx . . $ node_t# node_tcxx . . $ node_t#;
19 typedef struct label_tcxx . . $ label_t# label_tcxx . . $ label_t#;
20 // result structure type definition with support for floating point
21 struct result_tcxx . . $ result_t# {
22 int flagscxx . . $ result_t#flags.; // Expression flags
23 unioncxx . . $ result_t#$anonymous_type_0# {
24 intval_tcxx . . $ intval_t# intvalcxx . . $ result_t#$anonymous_type_0#intval.; // integer value
25 double fpvalcxx . . $ result_t#$anonymous_type_0#fpval.; // floating point value
26 } valcxx . . $ result_t#val.; // Expression value
27 };
28 typedef struct result_tcxx . . $ result_t# result_tcxx . . $ result_t#; // either int or float
29 // result structure type definition for int
30 struct result_int_tcxx . . $ result_int_t# {
31 int flagscxx . . $ result_int_t#flags.; // Expression flags
32 intval_tcxx . . $ intval_t# intvalcxx . . $ result_int_t#intval.; // Expression value
33 };
34 typedef struct result_int_tcxx . . $ result_int_t# result_int_tcxx . . $ result_int_t#; // always int, never float
35
36
37 // Debugging flag, should be undefined in release version
38 // #define FDEBUG
39
40 // Maximum nesting depth of "!src" and macro calls
41 // Is not actually a limitation, but a means of finding recursions
42 #define MAX_NESTINGcxx . . $ `src/asm/config.h:42:9`! 64
43 // Default value for output buffer
44 #define FILLVALUE_INITIALcxx . . $ `src/asm/config.h:44:9`! 0
45 // Default value for "!fill"
46 #define FILLVALUE_FILLcxx . . $ `src/asm/config.h:46:9`! 0
47
48 // Nullpointer definition
49 #ifndef NULL
50 #define NULLcxx . . $ `src/asm/config.h:50:9`! ((void *)0)
51 #endif
52 // Boolean values
53 #ifndef FALSE
54 #define FALSEcxx . . $ `src/asm/config.h:54:9`! 0
55 #define TRUEcxx . . $ `src/asm/config.h:55:9`! 1
56 #endif
57
58
59 #endif