This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Inline assembler syntax

I am working on ARM Cortex M-3 with Keil uVision Comipler.Earlier i had worked with Red Suite Compiler. It used "asm volatile" keyword for inline assembly.

But with Keil, when i try using "__asm" keyword in my code, it is generating a compilation error as "Inline assembler not permitted when generating Thumb code".

What could be the possible reason for this?

Thanks in anticipation.

0