Reply-To: From: "Arthur" To: "DJGPP Mailing List" , "Thomas Luzat" Subject: RE: Inline ASM Date: Tue, 15 Sep 1998 17:41:26 +0100 Message-ID: <000a01bde0c7$ae710c80$844e08c3@arthur> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit In-Reply-To: <35FE8291.37810D2D@gmx.net> Importance: Normal Precedence: bulk > Hi there! > > I just wanted to start programming in C/C++ and downloaded DJGPP for > this purpose. Everything is working fine, but I haven't figured out how > to use inline assembler. That's what I wanted to convert from Turbo > Pascal to DJGPP: > > asm > mov ax,0003h; > int 10h; > end; > > I need just one sample to start. I can't figure out how to do it from > the docs (maybe you can point me to the right one?) DJGPP uses AT&T syntax for inline ASM. Some people like it, others (like me) believe that it further compounds what is an already too complex language. If you don't like AT&T format, you should try NASM or another assembler. If, however, you definately need inlise ASM, there's a AT&T ASM primer at http://www.delorie.com/djgpp/ HTH James Arthur jaa AT arfa DOT clara DOT net ICQ#15054819