Other Parts Discussed in Thread: CCSTUDIO
Hi,
I'm using CCStudio V3.3 as compiler and my DSP is TMS320C672x. Below is my problem statement.
for ex,
#define MACRO 0x80
char a[5];
a[0] = 0x80;
and my condition is " if((unsigned char)a[0] ==MACRO) "
how this statement is evaulated? As per my understanding about statement shall be executed as "true". But my code at times, it treats as "false". What may be the cause for the inconsitance result?
PS: it was my mistake as i didnot declare it as unsigned character. Here my intention is to get clarify , why it is showing inconsistance results? and/or this type of behavior can we see any time? or anything to with my compiler?
Thanks
Sudhee