We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all, I just read the posts "variable" regarding the problem to position a value (or variable) at a specific address. These posts were related to C51, that's why I start a new thread here, to find out if there is a "good" solution for this with C166. It might be that I didn't get the whole problem, but using C51 the solution for this was as easy as:
char xdata test _at_ 0x12345
#define test MVAR (char, 0x12345)
I've found no documentation/info. about this 'ASSIGN' directive It's in the printed manual and online at http://www.keil.com/support/man/docs/l166/l166_assign.htm. I just want to define some bytes to fixed addresses! You probably want to use the sections linker directive for that. The manual page is at http://www.keil.com/support/man/docs/l166/l166_sections.htm. Jon