• Address of an element of a struct
    I have this code: typedef struct _DLL_struct { unsigned char DLL_type; unsigned char DLL_lenght; unsigned char DLL_data_begin; } DLL_struct; unsigned char xdata FskRxBuf[MAX_SIZE_BUFFER]; ...
  • elements of XHUGE structs
    Hi Folks, I do have some trouble with huge memory model and xhuge structures. I wonder, how is it with structures of type xhuge, which constists of a lot of sub- structure types: struct big ...
  • Problem using sizeof() with element of struct
    Hi all! I am experiencing the following problem: sizeof(EDA.stPARAM) returns 0x80 with CA.exe V2.41 which in my opinion is the correct result, but with CA.exe V2.50a it returns 0x82. Can somebody...
  • 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...
  • 89LPC935 initialisation
    I was using the "Measure" program as the basis for an application. The target device was selected to be a P89LPC935 (I needed the A/D). Everything works fine in simulation with one annoying exception...