Talk:DOS MZ executable
From Wikipedia, the free encyclopedia
|WikiProject Computing||(Rated Stub-class)|
MZ and ZM
early docs said like "M and Z letters" with no particular order. Some even said ZM instead.
- 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)