2 ms·
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. EX
by bitwize 9y ago
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.