Article View: alt.msdos.programmer
Article #1044Re: .com and .exe files
From: Michael Podanoffsky
Date: Wed, 27 Jan 1993 03:33
Date: Wed, 27 Jan 1993 03:33
21 lines
1231 bytes
1231 bytes
Both .com and .exe files can be loaded anywhere. A .com file contains no segments whatsoever. All data, code and stack share the same 64k segment. An .exe file contains segments and can exceed 64k. Only .exe files are really rommable should this ever be needed. One major side effect is that different code segments may be produced. .com files are an exact byte image of the program in memory without any relocation information. That means all references are near. .exe files contain a header and several segments. ------------------------ I should know: I wrote RxDOS an msdos replacement which is available in source code form: e-mail me if you need additional info. mikep@world.std.com
Technical Details
Message-ID:
<C1HtvM.Eun@world.std.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!das.wang.com!ulowell!news.bbn.com!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!sol.ctr.columbia.edu!eff!world!mikepReferences:
<1993Jan25.231026.6514@news.unomaha.edu> <1993Jan26.201921.21687@ousrvr.oulu.fi>Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!das.wang.com!ulowell!news.bbn.com!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!sol.ctr.columbia.edu!eff!world!mikep From: mikep@world.std.com (Michael Podanoffsky) Subject: Re: .com and .exe files Message-ID: <C1HtvM.Eun@world.std.com> Organization: The World Public Access UNIX, Brookline, MA References: <1993Jan25.231026.6514@news.unomaha.edu> <1993Jan26.201921.21687@ousrvr.oulu.fi> Date: Wed, 27 Jan 1993 03:33:21 GMT Lines: 22