We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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)
I s'pose another option would be for the assembler to only ever touch the structures in C-called functions, so that 'C' could provide the appropriate address & length at runtime?