Assembly language to C translation?

Bill Poser poser at csli.Stanford.EDU
Fri Sep 7 05:28:06 AEST 1990


In article <480 at frf.omron.co.jp> jfriedl at frf.omron.co.jp (Jeffrey E.F. Friedl) writes:
>I've seen a lot of this->that translaters, but what I really need is
>a C to assembler translator.  Such a beast exist, for any machine?

Unless I misunderstand this query, what you want will be done
by the great majority of C compilers. At least on UNIX systems, if you
give the compiler the -S option (e.g. cc -S foo.c) it will compile
into assembler. Most UNIX C compilers (and at least some for DOS)
generate assembler and then call a separate assembler, but delete
the intermediate assembler file once they are done with it.



More information about the Comp.lang.c mailing list