Content originally posted in LPCWare by bavarian on Mon Mar 10 10:54:20 MST 2014
The Cortex-Mx series is different to the ARM7TDMI. The Cortex-Mx processors are Thumb-only CPUs.
There are the so called "intrinsics" which can be used to execute assembler code.
You can also use inline assembler functions: (compiler tool dependent)
__asm void test(unsigned int input)
{
MSR MASK, input
BX LR
}
I recommend to have a look into the Cortex-M docs on the ARM website and also browse on Google for resulst on the search string "use assembler with Cortex-M3" .
Regards,
NXP Support Team