I am using a CORTEX-M4 micro controller board. Could you send me an Assembly example for programming the board?
I see Jens has been keeping you supplied with excellent advice about assembly code!
The Freescale technical team are actually doing the right thing, really, as one of the selling points of the Cortex-M microcontrollers is that they are capable of being programmed entirely in C. You can even write boot code and interrupt handlers all in C because of the way in which the hardware handles a lot of the low-level functionality automatically. This does make things much easier for many developers who don't want to bother with assembly code!
Two other things help here. First, most compilers support a wide range of intrinsic functions, like __svc, which allow assembly-level functions to be accessed direct from C.
Second, most board vendors make available a CMSIS-compliant middleware library which provides a standard C API to hardware-level operations.
So, there is (deliberately!) very little actual need to use assembly language when developing for a Cortex-M microcontroller.
Of course, there are still times when you might want to do so and Jens has given you some excellent pointers for that.
Hope this helps.
Chris