Anyone can let me know where I can find assembly program for all the basic interface on MCB 2100 evaluation board.
No, your functions do not get compiled into both Arm and Thumb mode.
The compiler can generate stub functions for making a Thumb function call an ARM function and reverse, but that is just adjustments to make the call work.
If your flash is big enough, and you want the extra performance, you can compile all of your own code in ARM mode. The code will still need trunking to access Thumb-mode library functions.
Ok I agree to certain extent. but if i use __ARM the opcodes generated are different than generated without it. I saw the opcode difference. But I just want to write asm program for simple peripherals. Any suggestion on where I can get the instruction set of ARM or any program that i can analyse written for ARM7.
Thanks everyone for their input and special thanks to Andy for bringing the 8051 concept.
Yes - I've already given them!
In addition, of course, you will also need to study the ARM Assembler Manual:
http://www.keil.com/support/man/docs/armasm/
Maybe this series of articles might help you:
Building Bare-Metal ARM Systems with GNU: Part 1 - 8 By Miro Samek, Quantum Leaps Embedded.com "
There are also links to other resources...