• GARBAGE DATA IN XDATA VARIABLE
    Dear All, I am getting garbge value, in my xdata variable. I am using c8051f021 controller with internal xdata of 4K.I do not understood why such problem occurs suddenly. Whether this is because...
  • xdata and data segment
    Hello, Could using xdata or ram able to change the behavior of the code in C? I am just wondering when I use xdata i in a for loop (i=0; i<100; i++) compared to data, I would get timing different...
  • xdata data stroage
    Hi, I am using AT89C51ED2 Micro controller, I have used "XDATA" for my buffer array, when the program is run , I am not able to get correct output, when the same array is used with "DATA" or "IDATA...
  • storing static data into flash in C
    I have some large static arrays that I would like to reside in flash rather than in sram. Is there a directive or some syntax I can put in the declaration in C to tell the KEIL compiler to put the...
  • static == extern ?
    extern data and static diffenece since static is used for keeping the value after existing function, extern use the value in other module. are they the same?