This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: other apps that assemble code


   Date: Thu, 05 Feb 1998 17:41:27 +0000
   From: Richard Earnshaw <rearnsha@arm.com>

   > Can anyone think of any useful applications that want to
   > assemble code besides an assembler?
   > 
   > A debugging session?
   > [I can see perhaps only a minor usefulness here, but maybe there are
   > cases where it's really useful, and maybe there are other examples.]

   How about a compiler.  It doesn't have to spit out assembly language 
   directly, and might be able to do a better job in some cases if it could 
   write an object file directly.

Yes, but in this case does the compiler internally create assembly code
and then parse that assembly code to spit out the object file?
Maybe there is a compiler that does so, but I would think it would just
keep the insns internally in some form and not deal with assembly code at all.

   (or am I missing your point?)

I'm not sure but I think so.