defines.h 724 Bytes
#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
#define MAX_OPCODES 500

#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 */