Op 17-7-2011 20:30, Jeffrey schreef:
> The FreeDOS wiki says that NASM is the reference assembler. However,
> when I use FreeDOS DEBUG to disassemble (unassemble?) a com file,
> the syntax for addressing memory is not NASM syntax.

I suppose DEBUG mimicks Microsoft's DEBUG. As there is a Microsoft 
Assembler (MASM) and others mimicking it (TASM etc) I guess DEBUG 
generates MASM syntax.

For NASM-compatible, you could try NDISASM
For DEBUG-disassembled programs, maybe try Japheth's JWASM or normal WASM?

> This might be a little off topic, but when I try to reassemble it,
> NASM gives the error:
>
> 11: error: short relative jump outside segment
> 11: error: short jump is out of range

I think Michael Devore also had a TASM --> NASM script written in PERL, 
it's called NOMYSO. Was used to convert EMM386 and HIMEM memory 
managers, for example.

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Freedos-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to