www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/22/19:27:14

From: Jack Klein <jackklein AT spamcop DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Converting existing 16 bit assembly code
Message-ID: <PigcOka+sarlrIciK+Rr8tB66obn@4ax.com>
References: <3a1c15a4 DOT 93436304 AT news DOT connectnet DOT com>
X-Newsreader: Forte Agent 1.6/32.525
MIME-Version: 1.0
Lines: 41
Date: Wed, 22 Nov 2000 20:12:40 GMT
NNTP-Posting-Host: 12.75.160.125
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 974923960 12.75.160.125 (Wed, 22 Nov 2000 20:12:40 GMT)
NNTP-Posting-Date: Wed, 22 Nov 2000 20:12:40 GMT
Organization: AT&T Worldnet
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 22 Nov 2000 19:04:26 GMT, jvasquez AT getntds DOT com (John Vasquez)
wrote in comp.os.msdos.djgpp:

> Since I have to access a PCI device that is memory mapped using full
> 32 bit addressing, I have to convert an old dos program from 16 bit
> mode to 32 bit mode. This program was used on a 16 bit ISA device.
> 
> Converting our program was not too difficult. My problems, is that the
> program used the TCXL library. This library has a lot of assembly code
> written in Microsoft Assembler.
> 
> I had RHIDE create a makefile so that I could see what assembler it
> was using. It was using the NASM program. That program was not in my
> DJGPP package. 
> 
> 
> Questions:
> Where do I get the nasm assembler that will assemble my .asm files?
> 
> Is this assembler compatible with MS assembler (Intel syntax)?
> 
> I'm I screwd?
> 
> John V.

One place you can get NASM is http://www.web-sites.co.uk/nasm/, but
there are probably many others.  There are useful NASM links on John
Fine's home page (John is one of the moderators of
news:comp.lang.asm.x86 and one of the developers of NASM) at
http://users.erols.com/johnfine/.

NASM uses Intel mnemonics as MASM does, but the syntax is not
identical.

See news:comp.lang.asm.x86 and its FAQs for more information.  The
home page for that group is
http://www.geocities.com/SiliconValley/Peaks/8600/.

Jack Klein
-- 
Home: http://jackklein.home.att.net

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019