I am going to do a project with 8052,DS89C450 and RTC CDP68HC68T1 which is communication with SPI. and i am going to program LCD can show the calendar and time and even from keypad we can change time and date. however i am really a freshman with this device at all especially the programming about SPI. can anybody help me?
No, apparently you can't - not in a legible fashion, anyhow!
There are clearly stated instructions for how to post source code:
www.danlhenry.com/.../keil_code.png
IF you can miss something as clear as that, it is likely that you have missed similar stuff in writing your code - so you should probably start by going back a carefully studying the documentation for the components you are using...