I am not quite sure whether it is impossible to print a compicated-macro value at compilation time in C language. My macro is Like below:
#define ADDR_START1 0x0001
#define SIZE1 0x1000
#define ADDR_START2 START1 + SIZE1
#define SIZE2 0x2000
#define ADDR_START3 START2 + SIZE2
#define SIZE3 0x3000
#define ADDR_RESERVED 0xFFFF - (ADDR_START3 + SIZE3)
Now, in order to get to know the remaining address size at compilation time, how can I print the value of "ADDR_RESERVED"? If the value is unavailable, is it because any calculation process cannot be done during compilation time?