delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/25/00:27:40

Date: Thu, 25 Sep 1997 16:28:50 +1100
From: Bill Currie <billc AT blackmagic DOT tait DOT co DOT nz>
Subject: Re: DJASM Manual?
In-reply-to: <60c7q0$l6p$1@flood.xnet.com>
To: slaisch AT typhoon DOT xnet DOT com (Steve Laisch), djgpp AT delorie DOT com
Message-id: <199709250433.QAA09360@teleng1.tait.co.nz gatekeeper.tait.co.nz>
Organization: Tait Electronics Limited
MIME-version: 1.0
Comments: Authenticated sender is <billc AT blackmagic DOT tait DOT co DOT nz>

On 24 Sep 97 at 23:30, Steve Laisch wrote:

> Is there a place where I can either buy the
> manual for DJASM.EXE or even download it and print it out?

Are you serious about djasm?  There is no documentation for it, just 
the source code (get djlsr201.zip, extract it: look at 
src/stub/djasm.y).  Odds are it won't do what you want: not all 386 
instructions are supported, nor is 32 bit addressing.  Also does not 
generate object files.  I would recomend using NASM or gas 
(as.exe) instead. (djasm is used only for producing the 2k stub that 
loads the main program).

However, djasm does have some nice features:
1) its free (comes with djgpp (djdev201.zip ?))
2) gcc/gas generated coff files can be linked with the code (linking
   done by djasm)
3) produces 16 bit code (only available mode)
4) bin/exe/com/hex (asm and C) output

I have a modified djasm that provides:
1) sys file support (you still have to build the header by hand)
2) structures and unions
3) most instructions and addressing modes (still a few missing)
4) 32 bit addressing

There may be a few other things, but I can't remember them now.

(my) Future plans (no order):
1) Finish instructions set support
2) object files (what format? needs a linker)
3) segments(? is it worth it, could just use nasm for this?)
4) macros
5) improved line tracking (line numbers of include files not handled
   properly)
6) Documentation!!!
 ...

If you're still interrested in djasm, and want the latest unofficial 
version, I can email djasm.y to you (you need bison)
Bill
--
Leave others their otherness.

- Raw text -


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