Date: Mon, 26 Aug 1996 08:41:28 +0200 (IST) From: Eli Zaretskii To: Bob Hazard Cc: djgpp AT delorie DOT com Subject: Re: inline asm In-Reply-To: <32207184.0@suburbs.yvv.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 25 Aug 1996, Bob Hazard wrote: > I know this isn't djgpp specific, but would appreciate some help. I have been > looking for information on the ability to include asm code inline with my C > code. So far, I have found nothing in anything I have been able to read, that Inline asm syntax is always compiler-specific. You can learn about this facility in gcc on-line docs. To that end, type from the DOS prompt: info gcc "C Extensions" "Extended Asm" (note the capital letters and the quotes: they are important). The above assumes you have the stand-alone Info reader installed (it's in txi360b.zip archive). A guide is available which was written by Brennan Mr. Wacko Underwood and describes how to use inline assembly programming with DJGPP, which you can browse at this URL: http://www.rt66.com/~brennan/djgpp/djgpp_asm.html