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

variable

How to declare and assign variables in ROM to an specific address

Parents Reply Children
  • LX51 (but not BL51) has this option but, from the description in the manual, I don't think it's quite what this question is after: it assigns an address to an unresolved symbol.

    The question, if I understand correctly, wants to assign a specific value and a specific address to a symbol?

    Standard 'C' initialisation can do the value, and Keil's _at_ extension can do the address, but C51 - for some unknown reason - won't let you use the two together :-(

    We await a reply from Keil to tell us why this is so...
    (as Graham noted, we've been waiting some time...)