This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

inline assembler

Good day,

I try to add inline assembler like this:

asm("POP {R12,PC}");

but I have an error:

  Error[Og006]: Error in inline assembly: "Error[401]: Operand syntax error"

I have read that I should change the processor mode in code settings in IAR but I can`t do it because it is gray and unchangeable. How can I solve the problem?

Parents Reply Children
No Data
Related