This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cdecls alternatives for linear assembly

Hi,


I want to use a structure declared in C header file in linear assembly source.(C6678, CGT 7.4.1)

From this it seems .cdecls directive is not supported for linear assembly.

Why it is like that? Is there any alternative available? How can I share structures and variables declared in C files to my linear assembly source code(other than hardcoding the offsets)?

Thanks

Sudheesh