I am using SST89E516RD controller for my project. I have downloaded 8Kb code in it and it is working very well. When i used 10.26kb code to download in controller it is not working well. the controller only executing initial few line code and shows it on lcd after this controller goes in infinite loop goes into.
So please tell me is it the compiler problem or controller problem
Is the watchdog enabled at startup by default? If it is and has a short timeout, it might reset the MCU before initialization of globals and statics has been performed. In that case modify the watchdog settings in __sdcc_external_startup() as mentioned in the manual.