From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Evans To: richard.earnshaw@arm.com Cc: gas2@cygnus.com Subject: Re: other apps that assemble code Date: Thu, 05 Feb 1998 09:49:00 -0000 Message-id: <199802051748.JAA28227@canuck.cygnus.com.> References: <199802051741.RAA14888@sun52.NIS.cambridge> X-SW-Source: 1998/msg00029.html 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? > > 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.