Skip to main content
Visitor II
February 15, 2008
Question

ST7 assembler code to C?

  • February 15, 2008
  • 2 replies
  • 735 views
Posted on February 15, 2008 at 08:17

ST7 assembler code to C?

    This topic has been closed for replies.

    2 replies

    Visitor II
    February 15, 2008
    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

    Visitor II
    February 15, 2008
    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