www.pudn.com > rtu.rar > MAIN.C
/************************************************************************/ /* */ /* This source file is a sample of start-up code. This is the code */ /* that is supplied with the C196 run-time library. */ /* */ /* It can be tailored differently according to the needs of the user, */ /* and the environment under which the application will run. */ /* */ /************************************************************************/ #include#include #include #define stack 0x1FF extern void _imain(void); extern void main(void); void _main(void) { sp=stack; _imain(); main(); #ifdef FULLEXIT exit(EXIT_SUCCESS); #else __exit(EXIT_SUCCESS); #endif }