News for hackers. Stuff that matters.
Re:PC DOS 1.0, but Not Quite by nils-m-holm on Saturday May 27, 2017 @02:59AM (#14429215)
Indeed! First thing the executables generated by my early DOS compilers did was to set up the es: and ds: segments in order to get more space.

Eventually I overcame laziness though, and started to study the EXE file format, which, AFAIR, does not have a "loader", (as Shorel suggested) but just a header describing the layout of the file. I think EXE files tend to be larger, just because they can be larger.

Re:PC DOS 1.0, but Not Quite by int_19h on Saturday May 27, 2017 @09:24PM (#14432701)
MZ (DOS .exe) requires a loader - smarter than just "copy this whole thing into memory and jump to start", anyway - because it has a relocation table. But, of course, the loader is not part of the executable itself, so it doesn't contribute to its size. I suspect that the reference was to the relocation tables themselves.