We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
We are using uVision 2.0 IDE. We are using in-line assembly code with C source. To get it compile we had to check Generate Assembler SRC File and Asseble SRC File for each of the Groups in the Project. When we do this the in-line is compile correctly. But we lose the capability to debug and set breakpoints with the C Code source. We only have the mixed with assembly with C Code commented out. What do I need to do to get the capability to debug and set breakpoints with the C Code source back and have in-line assembly.
Hans - If you cannot give constructive input please do not reply...
That's .. the problem. How true
Are you truly convinced that was necessary? good question
What do I need to do to get the capability to debug and set breakpoints with the C Code source back and have in-line assembly. Stop abusing you C compiler as an assembler. the correct answer
Erik
Rick, if you can't muster the strength to accept answers, do yourself a favour: don't ask questions.
But that is the answer to your problem!
See: http://www.keil.com/forum/docs/thread5025.asp
The features you describe are a direct and inevitable result of using inline assembler in Keil C51. Therefore, you have just two choices:
1. Live with it;
2. Don't use inline assembler!