|
From: Luke D. <cod...@ho...> - 2002-05-23 03:19:11
|
See the GCC documentation for how to use inline assembly in GCC, or use the GNU assembler 'as' (which comes with Mingw) to write modules entirely in assembly. I think you need to use "AT&T syntax" assembly in inline code, but you should be able to use Intel syntax with 'as' (see the as manual). Alternatively, you can also write assembler modules using a different assembler like NASM (search the web for it). http://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/ http://sources.redhat.com/binutils/docs-2.12/as.info/index.html Luke Dunstan ----- Original Message ----- From: "Robert Landle" <rl...@gd...> To: <min...@li...> Sent: Thursday, May 23, 2002 1:44 AM Subject: [Mingw-users] Assembly > Hi, > Can anyone please point me to a good beginners reference that will > show me how to include assembly language functions in my > minGW C/C++ programs. Does minGW come with an assembler? > If not, what is a good assembler? > Thanks, > Bob > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > |