hey want to ask that the put() function has a line feed and enter in itself?????? or what?
Did you read the note here?
http://www.keil.com/support/man/docs/c51/c51_puts.htm
It says "This function is implementation-specific and is based on the operation of the putchar function."
If you are using the default putchar(), the source for it was installed with your compiler; under the lib subdirectory if I remember.