defines.h
749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef DEFINES_H
#define DEFINES_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef TRUE
# define TRUE 1
#endif
#ifndef FALSE
# define FALSE 0
#endif
#define IRAM_BASE 0
#define DRAM_BASE 0
#define MAX_INSTRUCTIONS 1024
#define MAX_DATA_BYTES 4096
#define SYMBOL_TABLE_SIZE (512*2)
#define MAX_OPCODES 500
#define OVERDOSE 64
#define SYM_DEFINED 1
#define SYM_REFERENCED (1<<1)
#define SYM_SCALAR_REGISTER (1<<2)
#define SYM_VECTOR_REGISTER (1<<3)
#define SYM_CONTROL_REGISTER (1<<4)
#define SYM_LABEL (1<<5)
#define SYM_DATA (1<<6)
#define SYM_LA (1<<7)
#define SYM_HALF (1<<8)
#define SYM_TYPES (0xffffffff&(~(SYM_DEFINED|SYM_REFERENCED)))
#define RCP_INS_SET 0
#define MME_INS_SET 1
#ifdef __cplusplus
}
#endif
#endif /* DEFINES_H */