Hi, if you are starting off with the 8051 or any other micro there off, shouldn't you be writing the code yourself. Atleast for an LED. For resources:
The same site as Burt pointed out else just google it and a lot of hits will turn up.
The book Micro Digital Ed - 8051 Books by Majidi is good as well.