Mail Archives: djgpp/1997/09/25/00:27:40
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 -