Talk:DOS MZ executable

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing (Rated Stub-class)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Stub-Class article Stub  This article has been rated as Stub-Class on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.
Note icon
This article has been automatically rated by a bot or other tool as Stub-Class because it uses a stub template. Please ensure the assessment is correct before removing the |auto= parameter.

MZ and ZM[edit]

early docs said like "M and Z letters" with no particular order. Some even said ZM instead.

and DOS loaders i saw could use any of the stamps with no difference — Preceding unsigned comment added by (talk) 23:19, 5 July 2011 (UTC)

Officially, it is "MZ" (4Dh 5Ah), however, you are right that it was erroneously published the other way around in some books (AFAIR even Microsoft ones - they often contain mistakes as such). Most DOS implementations (including all non-archaic issues of MS-DOS, PC DOS and DR-DOS and PTS-DOS) therefore accept both "MZ" and "ZM", but some very old implementations do not. (Possibly some recent emulator implementations do not as well.) Therefore "ZM" (5Ah 4Dh) should be (and typically is) avoided.
"ZM" is known to have been used by some very old Microsoft linkers.
--Matthiaspaul (talk) 18:15, 9 October 2013 (UTC)


What about MZP's created by e.g. Borland C++ (for DOS and Windows platforms)? What does that "P" stands for? — Preceding unsigned comment added by (talk) 14:13, 9 October 2013 (UTC)