Tool/software: TI C/C++ Compiler
Hi,
Is it possible to use conditional statements in linker command file or the "?" operator?
For example if we need to define a mySymbol2 as following:
mySymbol0 = 0x0;
mySymbol1 = 0x3;
mySymbol2 = ( (mySymbol1 - mySymbol0) & 0x1) ? 0x7 : 0;
Please let me know if it is possible or if there is any other way to accomplish this.
thanks,
Rizwan