I tried to compiling the FreeRTOS in GHS MULTI IDE.
with GNU C mode enabled (to accept GNU __asm__ statement), most of the asm compile errors disappeared.
but still one error described as "unknown asm constraint letter 'k'".
I searched the internet, and someone said it's for EABI standard, instruct the compiler to place the variable in GPR8 or GPR9.
how to fix the kregs error for both of functions in GHS MULTI compiler ?