MZ Header Notes (1)
Robbie (Decheng) Fan
MZ header, also known as DOS EXE header, contains relocation information. It has the memory requirement (at least this memory should be allocated), maximum usable memory (allocate at most this amount for me), and relocatable CS IP values, SS SP values and other information. It also contains the number of bytes of code, and this makes self-extractors possible (such as PKZIP/ARJ self-extractors).
Actually it's possible to use some trick (such as non-reachable code) to use the COM format to make a self-extractor, but it's limited within 64KB.
Robbie (Decheng) Fan
MZ header, also known as DOS EXE header, contains relocation information. It has the memory requirement (at least this memory should be allocated), maximum usable memory (allocate at most this amount for me), and relocatable CS IP values, SS SP values and other information. It also contains the number of bytes of code, and this makes self-extractors possible (such as PKZIP/ARJ self-extractors).
Actually it's possible to use some trick (such as non-reachable code) to use the COM format to make a self-extractor, but it's limited within 64KB.