Gauri Mahajan

problem in declaring variables and pointer at absolute address

Discussion created by Gauri Mahajan on Jun 15, 2006
Latest reply on Jun 16, 2006 by Gauri Mahajan
I am working on 68HC11E9 processor and writing code in C for IAR embedded workbench compiler . I need to declare variables and pointer at absolute addresses in npage area (at 0x170). This IAR compiler doesn't support "@" operator and also it doesn't support "#pragma location = " declaration. 
 
 I have tried one more option to create a seperate data segment in RAM and then do it. But that also doesn't work.
 
Can anybody help me in how to do this?
 
Thanks and regards,
 
Gauri

Outcomes