Re: Error A2006
- From: Tim Roberts <spamtrap@xxxxxxxxxx>
- Date: Wed, 29 Mar 2006 05:07:51 GMT
WhiteFox <spamtrap@xxxxxxxxxx> wrote:
I directly assembly the file in command prompt, the command line is simply:
ml test.asm
it is just a simple assembly program run in DOS mode, thus, I do not think
it will need any header files.
I'm not using VS2005, I just copy the ml.exe from VS2005 and try to do some
assembly works.
I thought I had replied to this, but I don't see it.
Starting with ML 8.0, the /coff switch (which selects the 32-bit object
file format) became the default. If you want to create 16-bit objects, you
need to pass the /omf switch to ml.
However, you will ALSO need a 16-bit linker, the "segmented linker".
There's one in the DDK (bin\bin16\link.exe), or you can search for one on
the Internet. Because you need a non-default linker, you will probably not
be able to allow ml to call the linker. You'll have to do "ml /c /omf" and
call the linker by hand.
--
- Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- References:
- Error A2006
- From: WhiteFox
- Re: Error A2006
- From: Mark Whitlock
- Re: Error A2006
- From: WhiteFox
- Error A2006
- Prev by Date: Re: Declaring x86_64 registers as input in gcc inline assembler
- Next by Date: Re: graphics in pmode
- Previous by thread: Re: Error A2006
- Next by thread: xchg & lock question
- Index(es):