Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
If you want to access any of the C variables from assembly then you have to use "_" in front of their name. For accessing any array you can use indexed addressing mode, here is an example for the same.
For accessing an array from assembly, X will point to the index.
RAM_SETPAGE_IDX >_MyBufferName ; This instruction is required when your device have more than one page of RAM and paging is enabled.