Hi all, i need a help to move my first pass into this world of programming. I use a Cortex-M0 and my question is: how can I access to register R0-R12.. in language C? it's possible? I would save a variable into one register. Thanks bye.
My intention was to save the specific variable into one register when the reset occurs ...
Not a very good idea. When the processor resets that register is going to be used by the bootstrap and startup code. Bang goes your precious value.