Re:What's the difference between the com and exe extensions?...
by bitwize on Saturday May 27, 2017 @04:41PM
(#14431861)
COM is a binary image that just gets copied into memory. Because it is a holdover from CP/M it can only occupy one 64k segment for code, data -- everything.
EXE files have a header which tells the loader whether and how they use different segments in memory. They can have much larger memory footprints than COM programs.
EXE files have a header which tells the loader whether and how they use different segments in memory. They can have much larger memory footprints than COM programs.