• How to initialize an array at absolute location in code memory
    Hi, I've to modify a code previously written in Tasking compiler and at many places I find code like _rom USIGN08 TempTable[CAL_TEMPERATURES] _at(0xf35c)= { 0x0F,0x28,0x51,0x7A,0x8F }; Here...
  • Declaring (initializing) array without size
    Hi! I'm having some problems declearing an array. I am trying to make an array that contains messages that I will later display on an LCD display. I am using a 2D char array, but I don't want to specify...
  • Locating initialized variables at absolute address
    Hello, As the Summary suggests, I am trying to Locate initialized variables at an absolute address in a code segment. I have followed the steps shown here http://www.keil.com/support/docs/301.htm...
  • Array Initialization
    Dear All: I use a array in my program like this. int a[256]; But I found that, at program start phase, the system would initialize the array. Because my program storage is small, and ...
  • Initializing an array
    I tried to initialize this array but it shows the error as- expression must be a modifiable lvalue. struct sur { int n[10]; }s; s.n={1,2,3};