Hello, I written simple c program mention below by selecting the lpc2148 chip but not include its startup file in the project. when i run it will go in infinite loop. I also put the break point but i think its not coming to that execution line. Is it necessary to include startup file? void main() { int a=2,b=3,c; c= a+b; }
Here's the one for the 8051.
http://www.keil.com/support/man/docs/c251/c251_ap_startup.htm
Close, but no cigar. ;-)