This was a major oversight on your part. Also we realy should give some hints about the software. You only really need two instructions the DJNZ and the MOV all the others although handy aren't truely needed for this sort of task.
Hey, give him a break. He's in Gujarat India, so all the nerdy kids are busy 24/7 working on firmware for foreign firms.
Best regards, Spehro Pefhany
--
"it\'s the network..." "The Journey is the reward"
speff@interlog.com Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog Info for designers: http://www.speff.com
Depending on how accurate you need the clock, you can take any 8051 and write a software timing loop. Like this: (Assuming 11.0592 MHz xtal and non-accelerated type 8051 or derivative.) Accuracy will depend on crystal, and your software. Also temperature, etc...
ONE_SEC: ;ONE SECOND DELAY - 925183 CLOCKS / 1.0038880 SEC.
Next option: (Generally more accurate, with less to screw up.) Connect a real-time clock (such as the Dallas Semiconductor DS1307, or equiv). Use the RTC to keep track of the time, and the 8051 to handle the LCD.
Next option: (If money is no option) Use an "all-in-one", like the Dallas Semi DS87C530, which is an 8051 with a built in clock. But this only comes in weird packages and is rather expensive.
Also, in my experience, serial LCD's are more $$ than parallel. It is not difficult to code a parallel LCD, so save your money. You will almost certainly have enough port pins available to drive it.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.