• 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...
  • 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...
  • sizeof of struct with bit Field
    please explain me why the sizeof (C51) returns 6 bytes for this struct instead of 5: typedef struct DEKO_COMM_HEADER { UINT16 m_uiMsgOpcode; UCHAR8 m_sblMsgPriority :2; UINT16 m_sblDataLength...
  • Sharing defines with sizeof() for assembler???
    Hi all! I want to use some sizes of C-structures in assembler. I know that it is possible to use #define statements also in the assembler language, but not something like that: #define STRUCT_SZ...
  • Sharing defines with sizeof() for assembler???
    Hi all! I want to use some sizes of C-structures in assembler. I know that it is possible to use #define statements also in the assembler language, but not something like that: #define STRUCT_SZ...