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 register for global variables

Hi

I am working with C64x+ core. In one of the application i want to use a register for a global variable. I know its some thing odd but i want this functionality.  Is there any work around by which we can allocate global variable in a fix register and the compiler should not touch that register?

I hope you got my question.

Thanks

Abhishek