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.
Tool/software:
Greetings,
Reading the Assembly Language Tool User’s Guide (spru513y), it seems that an array must be declared by specifying a value for every element or by a .usect statement. But is there a way to declare an array within a structure?
Thank you,
Ed
Hi Ed,
I am having this post rerouted to our compiler team to comment on this question.
Regards,
Ozino
I recommend you declare the array within a structure in a C header file. Then define one or more instances of that structure in a C source file. Please search the C28x assembly tools manual for the chapter titled Sharing C/C++ Header Files With Assembly Source to learn how to refer to fields in an instance of that structure from assembly.
Thanks and regards,
-George