• 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 ...
  • Designated initialiser of struct element in C51
    Why designated initialisation not working in C51? How to initialise structure lement? struct fixed { unsigned char a; unsigned char b; }; code struct fixed flash = {.a=0x2, .b=0x3}; Above...
  • 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...
  • Address of xdata structure elements are not linked into code structure
    I created a structure about data fields, which are located in a structure in xdata area. The informal structure itself should be in code area. typedef struct { unsigned char *pucRamAddr; eNvmDevice...
  • struct and address
    hello every one, I am trying to use bitfield in my project. i want to assign the port address to the byte which i have created using bitfield. /* following is the code i have tried */ typedef...