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.

Preserve Registers for global use

Hello,
i was looking for a way to lock a register from the c-compiler so that i'm able to use it as a global check-register.

During search i found something similar for the MSP430 -> http://e2e.ti.com/support/development_tools/compiler/f/343/p/71699/260664.aspx.

There is also a switch for assembly level [.reserve], but i need it for the hole project at c level.
I did not find a matching switch withing the cl6x compiler. Is there a different way to do so or maybe some undocumented switch?
best regards

Bernhard