Can someone tell me whether keil IDE offers any library function for generating delay or the programmer only has to write the code for this? thanks
That'll be in the Manual: http://www.keil.com/support/man/docs/c51/c51_library.htm
it would be outright silly of Keil to provide a delay routine for the '51. Implemeting a PC type delay would, in most cases, be deterimental to the performance of this device. The '51 ain't no PC Erik