Forums

[563xx] Accessing struct members from assembler?

Started by martinegholmnielsen January 5, 2009
Hi there,

Is there a way to use members of a C struct in my (inline) assembler code?
I would like to avoid hard coding the offsets of elements? I don't
want to have to change the assembler every time the struct is changed...

This is for the DSP563xx family and the TASKING as563.exe v3.6r1...

// Egholm