how to initialize the stack pointer register in main c program
See the "MDK-ARM Primer" http://www.keil.com/support/man/docs/gsac/
Configure ARM7/9 Target: www.keil.com/.../gsac_configarm79target.htm
Configure Cortex-M Target: http://www.keil.com/support/man/docs/gsac/gsac_configcortex.htm