Hi Vijay s,
The default C project startup code is mainly responsible for :
* Stack Pointer initialization
* zero out RAM areas where data is allocated
* copy initialization data from ROM to RAM (e.g. Initialization of global and static variables)
* jump to the main() function
CodeWarrior generates entire project including startup code, selected MCU's header files, ANSI C library,... if you create new project by default.
There is the options "minimal startup code" vs. "ANSI startup code" available that influence startup code when new C project is created. The "ANSI startup code" is the default option and causes that all the actions above are executed during startup whereas "minimal startup code" initializes just Stack Pointer and calls main().
Stanish