MZ

From OSDev.wiki
Revision as of 12:48, 3 July 2008 by osdev>Virtlink (+ executable formats infobox)
Jump to navigation Jump to search
This page is a stub.
You can help the wiki by accurately adding more contents to it.
Executable Formats
Microsoft

16 bit:
COM
MZ
NE
Mixed (16/32 bit):
LE
32/64 bit:
PE
COFF

*nix
Apple

DOS-MZ was introduced with MS-DOS (Not DOS v1, however.) as a companion to the simplified DOS COM file format. DOS-MZ was designed to be run in real mode and reflects this, having a relocation table of SEGMENT:OFFSET pairings. A very simple format that can be run at any offset, it does not distinguish between TEXT, DATA and BSS. Since it was designed to run in real mode, its maximum file size of code + data + bss is 1mb.

Only DOS and Windows use this format natively, but there are several free DOS emulators that support it for various operating systems. (e.g. Linux, Amiga, etc.)

See Also