??? 05/13/09 11:00 Read: times |
#165292 - I think there is a confusion... Responding to: ???'s previous message |
Hi Rita,
There is something I want you to do. and post the result. Do it step-by-step exactly as I mention below: 1. Andy Neil is correct, you do not need Keil to do this. But I am assuming that you (still) want to do it in Keil. And if that is the case, then do exactly what I am telling you to do. 2. Do not use TurboC, Borland C, or any other C compilers that produce the EXE file that is to be run on computers. This is the exact point what Andy Neil has been telling you. Refer to his post(s) and answer him. 3. Do you have a Keil Compiler? IF not, then you can download the evaluation version that is free from the website www.keil.com (I do not know the exact website link, but somebody will give it to you, or you can search on keil.com). Install it. Open a new project and paste the above code in that project. If you do not know how to do this, then ask for that information and many, many of the members will help you out on this. 3. Open up the following link: http://www.8052.com/forum/read/165065 . It is my post, where I had written a sample code in Keil C. Copy the entire code into a new Keil C project. And follow the instructions I had given just below that code in the very same post. 4. And inform the result. 5. If you are still confused, inform me about it, and I will exaplin it how to do it. 6. If you want your code to work on a compiler using Borland C, or Turbo C, then mention it, we are still guessing, whether you want your code to work in Borland C or in Keil C. Both are C Compilers, but Borland C will create a file that will run on the PC, whereas Keil will produce a (Hex) file that is to downloaded into a chip and tested out on the actual hardware, though good compilers such as Keil do provide the option for simulating it. To put it in other words (in the language of cricket): Rules of Test-match criket are different than One-day matches, and Twenty20. All are the different forms of Cricket. You cannot apply the all the rules of cricket to all of them, but some of rules are common to all of them. Bye from, Kiran V Sutar, Mumbai, INDIA. |