I am developing a HAL for a university project on the Kinetis K70 tower modue.
I am using Codewarrior 10.4 and have written the following ISR for the supervisor call to set the code to privelliged mode..
uint32_t * controlPtr;
control = 0x00000000;
controlPtr = &control;
asm("MSR CONTROL, R1");
The second ASM line is throwing an "unknown identifier: R1" error.
The previous line accept R1 without issue, so I am wondering what is occuring here...
I think I have probably missed something fairly basic here, Please advise...