Convert Assembly code to Keil C

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.

Parents
  • 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.

Reply
  • 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.

Children
More questions in this forum