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?
I have some ARM assembly code
Actually, no, you don't. What you have there is C code using a compiler-specific extension that just so happens to use the keyword '__asm'. That's by no means assembly code, much less ARM or Cortex-M0 assembly.