From: mauch AT uni-duisburg DOT de (Michael Mauch) Newsgroups: comp.os.msdos.djgpp Subject: Re: asm conversion Date: Wed, 07 May 1997 15:50:48 +0200 Organization: Home, sweet home (via Gesamthochschule Duisburg) Lines: 22 Distribution: world Message-ID: <33727116.4133355@news.uni-duisburg.de> References: <5kkqqh$859$1 AT grissom DOT powerup DOT com DOT au> NNTP-Posting-Host: ppp102.uni-duisburg.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On 5 May 1997 14:28:33 GMT, phreadd AT powerup DOT com DOT au (David) wrote: > I've tried reading the faq and "brennans guide to inline assembly" but I > still can't convert the following code. Maybe it's because I can't really > program in assembly anyway :) > I'm writing all my own routines rather than use "allegro", since you learn > by doing. And I already had the routines for BC ;) Maybe you want to check out Matthew Mastracci's page "Interfacing DJGPP with Assembly-Language Procedures" at http://www.ucalgary.ca/~mmastrac/djgppasm.doc. It's a very good introduction to NASM. The syntax of NASM's assembly code is pretty much like the one of TASM/MASM, so you don't have to twist your mind with AT&T syntax, input/output constraints etc. NASM can be found at SimTel-Mirrors in the msdos/asmutil directory AFAIR. Regards... Michael