MZ

From OSDev.wiki
Revision as of 14:38, 25 November 2009 by osdev>Jal (changed the wording a bit)
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

The MS-DOS EXE format, also known as MZ after its signature (after the initials of Microsoft engineer Mark Zbykowski) was introduced with MS-DOS 2.0 (MS-DOS 1.0 only sported the simple COM 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