cancel
Showing results for 
Search instead for 
Did you mean: 

ST7 assembler code to C?

sebastian239955_stm1
Associate II
Posted on February 15, 2008 at 08:17

ST7 assembler code to C?

2 REPLIES 2
sebastian239955_stm1
Associate II
Posted on February 15, 2008 at 07:22

Hi folks!

Since I am new here... first a friendly ''Hello!'' to everyone!

But now directly into medias res 😉

I was wondering if there is a possibility to automatically convert ST7 assembler code to a C-file??

thanks alot

Sebastian

fggnrc
Associate II
Posted on February 15, 2008 at 08:17

Sebastian,

as you know, the C compiler translates a C source file to assembly code.

This translation is complex and is controlled by some options that change from compiler to compiler.

If were exist a tool that does what you ask, it should be able to revert its action, at least for the code that it generates.

As far as I know, such tool does not exist and I bet that it can't be made because some assembler instructions (e.g. TRAP) do not have a language C conterpart.

EtaPhi