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; }
There is a description of the start up file in the manuals. Here's the one for the 8051.
http://www.keil.com/support/man/docs/c251/c251_ap_startup.htm
Here's the one for the 8051.
Close, but no cigar. ;-)