6. Output Formats

Asmc Macro Assembler

6. Output Formats

The format of the assembler's output is selected by commandline options. These are:

-omfIntel's "relocatable Object Module Format", including 32-bit MS extensions.
It's the default.
-coff(MS) COFF object module format, supports flat memory models only.
It's usually used for 32-bit Windows modules.
-elf32-Bit ELF ("Executable and Linkable Format") object modules.
-elf6464-bit ELF object modules.
-win6464-bit format for Win64 object modules. COFF variant with 64-bit extensions.
-djgppCOFF variant used by DJGPP. Not active in precompiled binaries.
-binraw binary format.
-mzDOS MZ binary format.
-pe32- and 64-bit PE binaries.
The formats selected by -bin, -mz and -pe are binary formats, hence the output is not supposed to be fed to a linker.