This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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 sizeof(TStruct)

Does anybody known an workaround for this simple problem?

Thanks.
Benny

0