From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Clifton To: devans@cygnus.com Cc: richard.earnshaw@arm.com, gas2@cygnus.com Subject: Re: other apps that assemble code Date: Thu, 05 Feb 1998 10:35:00 -0000 Message-id: <199802051835.KAA08876@elmo.cygnus.com> References: <199802051748.JAA28227@canuck.cygnus.com.> X-SW-Source: 1998/msg00031.html : Date: Thu, 5 Feb 1998 09:48:44 -0800 : From: Doug Evans : : Date: Thu, 05 Feb 1998 17:41:27 +0000 : From: Richard Earnshaw : : > Can anyone think of any useful applications that want to : > assemble code besides an assembler? : : 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. Well one compiler I worked on did this, but it did have to include a disassembler so that it could support the -S option. : (or am I missing your point?) : : I'm not sure but I think so. Nick