We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have some ARM assembly code that needs some porting to a Keil environment intended to run on an M0.
I am getting some errors for
register uint32_t *mp __asm("r0") = < pointer> ;
This is complaining saying that mp is not initialized. Any clues?
If this is just syntactic sugar, I'd be keen on fixing it right here!
What is your assembler code actually doing, beyond this somewhat out of context assignment of a pointer into R0? Do you have other code depending of something being in R0, or could you just use the register directive and let the compiler make the assignment decisions?