Dennis Woods

Codewarrior for DSC - how do I assign a constant to be at a specific address in code ?

Discussion created by Dennis Woods on Aug 7, 2008
Latest reply on Aug 15, 2008 by Dragos Badea
How can I assign a constant to be at a specific address in code. I want the const variable "CAL_DATA" to be at the address F000 ? In Codewarrior for Microcontrollers  I used the following:
 
const word CAL_DATA @0xF000 = 0x1234;
 
However, this does not work for Codewarior for DSC compiler.
 
Thanks
 

Outcomes