How to generate object code

Nick Mudge <mudgen@gmail.com>
Sun, 21 Oct 2007 19:16:03 -0000

          From comp.compilers

Related articles
How to generate object code mudgen@gmail.com (Nick Mudge) (2007-10-21)
Re: How to generate object code santosh.k83@gmail.com (santosh) (2007-10-22)
Re: How to generate object code gah@ugcs.caltech.edu (glen herrmannsfeldt) (2007-10-21)
Re: How to generate object code eliotm@pacbell.net (Eliot Miranda) (2007-10-23)
Re: How to generate object code cfc@shell01.TheWorld.com (Chris F Clark) (2007-10-24)
| List of all articles for this month |

From: Nick Mudge <mudgen@gmail.com>
Newsgroups: comp.compilers
Date: Sun, 21 Oct 2007 19:16:03 -0000
Organization: Compilers Central
Keywords: code, question
Posted-Date: 21 Oct 2007 16:05:16 EDT

Do compilers normally turn code into an assembly language and then run
an assembler to to convert it into binary? Or does the compiler make
its own representation and itself turn the representation into object
code?


How do assemblers turn assembly into object code? Does the assembly
author have to know the binary numbers to translate the assembly into?
[Some compilers do it one way, some do it the other. Unix compilers have
traditionally compiled into assembler because early on there was a very
fast assembler available.


Re assemblers, of course they have to know the binary numbers in the
computer's instruction set. -John]





Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.