<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="COM file - Page 8 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=COM_file&amp;p=7">1.Previous</a><br />
<a accesskey="3" href="page.php?w=COM_file&amp;p=9">3.Next</a>
</p>
<p>or <a href="page.php?w=Z80_instruction_set">Z80</a>). </p>

<p>MS-DOS was designed to run on the Intel <a href="page.php?w=8086">8086</a> processor which could address sixteen different memory "segments", each of which held 65,536 bytes of memory. Since COM files were never intended to span multiple segments, Microsoft created a successor file format that allowed for larger programs: <a href="page.php?w=.EXE">.EXE</a>. </p>

<p>COM files in DOS set all x86 segment registers to the same value and the SP (stack pointer) register to the offset of</p><p>
<a accesskey="1" href="page.php?w=COM_file&amp;p=7">1.Previous</a><br />
<a accesskey="3" href="page.php?w=COM_file&amp;p=9">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
