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

Why can't symbols defined with _at_ be initialised!?

Well, we've just had another question about initialising constant data defined with _at
http://www.keil.com/forum/docs/thread1162.asp

This is a very frequently-asked question, which begs the further question, "why can't symbols defined with _at_ be initialised??" After all, there's obviously a lot of people out there wanting to do it.

I gather that the Raisonance compiler does allow this.
http://www.8052.com/forum/read.phtml?id=13182&top=

Parents
  • "I think your question is of no importance."

    Take a look back through the last year's posts - you'll see that it's been asked at least half a dozen times. I think it was important to them, and to all the others who worked it out for themselves without ever asking on this forum.

    "Is it really that difficult to initialize whatever you want at the start of your program?"

    It is if you want your constants in CODE!!
    But why should you have to do this, when the Compiler handles all other initialisations automatically!?

Reply
  • "I think your question is of no importance."

    Take a look back through the last year's posts - you'll see that it's been asked at least half a dozen times. I think it was important to them, and to all the others who worked it out for themselves without ever asking on this forum.

    "Is it really that difficult to initialize whatever you want at the start of your program?"

    It is if you want your constants in CODE!!
    But why should you have to do this, when the Compiler handles all other initialisations automatically!?

Children