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.
refer to the assembler manual to see how to use embedded assembly rather than inline assembly.