Date: Wed, 08 Nov 2000 19:08:47 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Kirill Pankratiev Message-Id: <9003-Wed08Nov2000190847+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.5h CC: djgpp AT delorie DOT com In-reply-to: <3A092D3D.93376B5B@free.fr> (message from Kirill Pankratiev on Wed, 08 Nov 2000 11:34:10 GMT) Subject: Re: ASM in DJGPP References: <3A092D3D DOT 93376B5B AT free DOT fr> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Kirill Pankratiev > Newsgroups: comp.os.msdos.djgpp > Date: Wed, 08 Nov 2000 11:34:10 GMT > > I wonder , can somebody tell me how to use assembly in DJGPP > > So far i didn't manage to comipe things like : > > void Swap(int *a,int *b) > { > _asm > { > push ebp That's because you use a syntax that is not supported by GCC. See section 18.12 in the DJGPP FAQ list, it tells you where to read about the GCC inline asm syntax.