I use the following means of making .h files usable in assembler #ifdef CCODE // bypass structs for assembler modules structs ... such as typedef struct { ......... } E1_SEI; #endif extern U8 ... extern U16 ... etc this works very well. Now, on occasion I am interested in assembler having access to sizeof E1_SEI Currntly I have C code saving the size in a variable that the assembler reads, but that is ineffective and a "discrete" #define sizeofE1_SEI nnn is dangerous. anyone found a way to do this? Erik
View all questions in Keil forum