From: Skye Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP & ASM? Date: Sat, 26 Apr 1997 23:24:28 -0700 Organization: Uniserve Lines: 17 Message-ID: <3362F11C.7535@iname.com> References: <5ju7om$14o2 AT pulp DOT ucs DOT ualberta DOT ca> Reply-To: s_c AT iname DOT com NNTP-Posting-Host: dy2-27.van.tvs.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Harry Colquhoun wrote: > Anyways, I've gotten a good grasp of DGJPP and read through > the docs on AT&T ASM. What I can't find is a way to include > the ASM code in my C code. In Turbo C you do something like > "asm {...." but how do you do it in DJGPP. If you want inline asm check out the tutorial on this page by Brennan Underwood: http://www.rt66.com/~brennan/djgpp/djgpp_asm.html. It covers the basics well. Also try, info gcc "C Extensions" "Extended Asm" (that's from section 18.13 of the FAQ) and : http://www.delorie.com/gnu/docs/gcc-2.7.2.2/gcc_86.html I hope this info is correct. Good luck, Skye