This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Explicitly assign the variable to a speicified RAM location

Hello,

I'd like to assign the variable to a speicified RAM location, for example, there is a variable Var which I'd like to assign to the address 0xB000, is there any way it can be achieved?

In the help document, I only find something like user-defined section, but it seems that it can only be used for a C file, but I'd like to used something inside a C file and only affect one variable? I am using C166 compiler.

Thank,
Simon

Parents Reply Children