• Accessing data in code space
    Hi, I'm using c to write a program for the 8051 (SiLabs IDE/KEIL). As I understand it there are 4 banks of 32k, Bank 0 is where my program is stored and the other banks I have used to store static data...
  • Accessing data in code space
    Hi, I'm using c to write a program for the 8051 (SiLabs IDE/KEIL). As I understand it there are 4 banks of 32k, Bank 0 is where my program is stored and the other banks I have used to store static data...
  • structural data in CODE area cannot be accessed by a pointer
    hi, I have a structure and it is named OSD_STRUCTE. I give init values for this struct and put those init values into code area to save XRAM space. CODE OSD_STRUCT viewCtrl[] = { //StartROW...
  • structural data in CODE area cannot be accessed by a pointer
    hi, I have a structure and it is named OSD_STRUCTE. I give init values for this struct and put those init values into code area to save XRAM space. CODE OSD_STRUCT viewCtrl[] = { //StartROW...
  • Accessing structure pointer members
    Hi all, For some reason, I cannot access the structure members if I use struct pointers. eg: typedef struct { int member1; }structure_t; structure_t structure, *structure_ptr; int...