MZ Header Notes (1)

来源:互联网 发布:在线ftp源码 编辑:程序博客网 时间:2024/04/28 14:48
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.


原创粉丝点击