AnsweredAssumed Answered

using the '@' directive , to assign a variable to specific address

Question asked by Letha Jacob on Aug 11, 2009
Latest reply on Aug 12, 2009 by Letha Jacob

Hi,

    To assign a variable to a specific addresses, I tried using the '@' directive as given below:

 

int glob @0x0500 = 10;

 

This gives a compiler error which says:

"Expected ; instead of '@' ".

 

I tried with the C99 & GCC extensions enabled in c/C++ Language settings tab. This did not help.

 

Any solutions?

 

Thanks,

Chen

Outcomes