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.

How to use global variable in assembly function.



Hello,

 1.How to use global  variable in "asm"  function which is declared in "c" file

 2.How to copy the registers(ex R14,R15) to a global variable and how to store them back to the registers from Global variables.

Please share if there is any examples for the above queries.

Thanks in Advance.

Regards,

Shilpa