• Initialising Structures
    Hello, I am using the PK51 package. My program requires a structure of arrays. The following files are used:- 1) declare.c For defining the global variables 2) declare.h Containing the extern definations...
  • Initialising Values to Structures
    Dear Sir, I am making a program using Keil PK51 package. I am using a structure of arrays declared as: #define MAX_TESTS 30 struct param{ /* 80 bytes per test */ char mode[MAX_TESTS]; float...
  • no initialisation of external memory
    hello, I use some external memory (xdata) for saving some information in external ram (with battery) before a shut off of my application, but when I switch on the application all my xdata are set...
  • Relocating a structure to external memory
    I seem to have an issue when trying to define a structure to exsist at an external memory location. the struct overlays registers in an external chip communicating through through the EMI interface....
  • Initialisation of variables
    Hello ! By default, any C variables are cleared to zero on startup. However, I desired for some data that they are not be cleared on startup. How can I do this ? Thanks Michael