delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/25/01:15:35

From: "M. Schulter" <mschulter AT value DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJASM Manual?
Date: 25 Sep 1997 01:05:03 GMT
Organization: Value Net Internetwork Services Inc.
Lines: 58
Message-ID: <60cdbv$680$2@vnetnews.value.net>
References: <60c7q0$l6p$1 AT flood DOT xnet DOT com>
NNTP-Posting-Host: value.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Steve Laisch <slaisch AT typhoon DOT xnet DOT com> wrote:
: Is there a place where I can either buy the
: manual for DJASM.EXE or even download it and print it out?

: I had taken some Assembler in Junior college and I want to get
: back into it with this particular Assembler.

Hi, there.

As another assembly language enthusiast, I should quicky explain that
DJASM.EXE is _not_ intended as the normal assembler for DJGPP users --
that's AS.EXE, the GNU Assembler (GAS).

As explained in the DJGPP FAQ, Section 17, people who have experience with
other DOS assemblers should take caution, because GAS is different! What
follows is a summary that together with the FAQ may give you an idea of
what you're getting into.

GAS is included as part of bnu281b.zip, available in the /djgpp/v2gnu
directory of the djgpp mirror sites. It's a great 32-bit assembler, and
uses the AT&T syntax standard for many UNIX systems. I'm learning
assembler with it for the first time, and have started to write newbie
standalone assembly programs with a lot of help and borrowed code from
this newsgroup <grin>.

If you prefer the Intel syntax, there's also the Net-wide Assembler (NASM)
project, another great free software option, which can produce
DJGPP-compatible output files.

Now for DJASM.EXE: it's undocumented because its main purpose, as I
understand it, is only to add a 2K stub so that DJGPP can build itself
without relying on another compiler.

In contrast, GAS is documented both briefly in the DJGPP FAQ (Section 17),
and more fully in

info as machine i386

There are also a number of tutorials designed for people who already have
some assembler experience and want to use GAS (especially for inline
assembly code in a C program), one tutorial in progress on DJ's site:

http://www.delorie.com/djgpp/doc/ug/asm/about-386.html

and maybe some others taking shape behind the scenes.

You can also find lots of information by searching or browsing the
archives of this newsgroup, available at DJ's site; you could also try
Deja News.

Most respectfully,

Margo Schulter
mschulter AT value DOT net

(To reply, please remove any extra . in my default address --
 the address immediately above is correct)

- Raw text -


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