AnsweredAssumed Answered

What is the correct way to assign a variable to a specific address with CW 10.xx?  In classic CW the following works "  int    variable name    @0x0070;  "  Importing the project into CW10 give syntax errors

Question asked by DAVE BARTLETT on Aug 7, 2013
Latest reply on Aug 8, 2013 by DAVE BARTLETT

I am importing a project from classic CW to CW 10.  With classic CW the following assigns a global variable to a designated address


#pragma   DATA_SEG  RAM

int     variable_name      @0x0070;


The CW 10.  gives syntax errors and bad character sequence encountered: @


What is the correct method of assigning a variable to a specific address with CW 10.


Thanks in advance.