Xref: news-dnh.mv.net comp.os.msdos.djgpp:2113 Path: news-dnh.mv.net!mv!news.sprintlink.net!in1.uu.net!comp.vuw.ac.nz!waikato!not-for-mail From: jpg AT cs DOT waikato DOT ac DOT nz (J P Griffiths) Newsgroups: comp.os.msdos.djgpp Subject: Re: inline asm ? Date: 21 Sep 1995 22:52:05 GMT Organization: The University of Waikato Lines: 24 Sender: jpg AT waikato DOT ac DOT nz References: <43jc3h$rqt AT ci DOT ist DOT utl DOT pt> Reply-To: jpg AT waikato DOT ac DOT nz Nntp-Posting-Host: lucy.cs.waikato.ac.nz To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp COSMOS (l40128 AT alfa DOT ist DOT utl DOT pt) wrote: : I just got djgpp (the required & recomended zips by the moment) and : wanted to write some inline asm to check out the 32bit instructions , : but i cant figure out how to do it. I was used to inline asm in BC3.1. : Can someone post a very small example or a ftp or www adress with some : examples of inline asm in djgpp (v2beta3) ? Hi Cosmos, Look at x2ftp.oulu.fi /pub/msdos/programming/djgpp2 . There you will find three (possibly more, now) libraries for graphics etc under djgpp. Each of them has examples of both inline and .s (seperate file) assembly. Be aware that jlib_0-9.zip will be updated in about a week. Look in the "faq" directory at the same site and you will find the djgpp game programming faq which has information on using gas. Also look up gas in the info files that you should have with your distribution. There is a lot of information there about using the assembler. Above all, don't be discouraged and don't be afraid to experiment. Good luck with your projects, Jon.