DOS MZ executable

The DOS MZ executable format is the executable file format used for .EXE files in DOS.

DOS MZ executable
Filename extension
.exe, .com, .dll
Internet media typeapplication/x-dosexec, application/x-msdos-program, application/x-ms-dos-executable
Magic numberMZ
Type of formatBinary, executable
Extended toNew Executable
Linear Executable
Portable Executable

The file can be identified by the ASCII string "MZ" (hexadecimal: 4D 5A) at the beginning of the file (the "magic number"). "MZ" are the initials of Mark Zbikowski, one of the leading developers of MS-DOS.

The MZ DOS executable file is newer than the COM executable format and differs from it. The DOS executable header contains relocation information, which allows multiple segments to be loaded at arbitrary memory addresses, and it supports executables larger than 64k; however, the format still requires relatively low memory limits. These limits were later bypassed using DOS extenders.

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.