Amount line code about 300. So that, you could help me by indicate some ebook step by step to solve this case. If anyone can help me to convert,i'm very happy. Plz mail victorvn2003@yahoo.com MJ, Many thanks.
You are going to have to do this manually - there is no automated tool. There is no magic - it's just pure hard work. You need to understand what the assembler is doing, and then re-implement that in 'C'. Thus you need a thorough understanding of the microcontroller, the rest of the target system, assembler programming, and 'C' programming. What I have done in the past is to write comments in C-like syntax alongside the assembler, and then use these as the basis for the 'C' re-implementation.
Oh, yeah, thanks. But you can tell me about some book that help me to convert assem to Keil C
"you can tell me about some book that help me to convert assem to Keil C" I doubt very much indeed that such a book exists. What exactly is your problem? Do you not understand how an 8051 works? Do you not understand assembler? Do you not know how to write 'C' for the 8051? You will find plenty of references covering each of these topics but, as I just said, I doubt you'll find much (if anything) on going from assembler to 'C' One might also ask why you need to do this - do you have legitimate rights to the code?