Date: Sun, 25 Feb 1996 09:04:12 +0200 (IST) From: Eli Zaretskii To: Jetman AT gnn DOT com Cc: djgpp AT delorie DOT com Subject: Re: DJGPP/GCC Documentation Questions In-Reply-To: <199602240049.TAA05244@mail-e2a-service.gnn.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 23 Feb 1996 Jetman AT gnn DOT com wrote: > 1) "Using and Porting GCC" covers many details > about the compiler, but doesn't say much about routine > details like real examples of imbedded assembly language > code via the asm keyword. Besides the differences bet the > Intel and AT&T instruction formats, are there other caveats > one should keep in mind when moving mixed language code into > the GCC world ? I'm mainly concerned w/ details about how > one can knock-off a C/C++ function using assembly > language, instead of pure C/C++ code. I'd even go for a few > straight-forward, real-world, source code examples (w/ > comments, of course.) Please read the DJGPP FAQ list (faq102.zip from the same place you got DJGPP). Chapter 17 there discusses the main aspects of this and points you to additional documentation. The best place to look for code examples is in the DJGPP C library sources.