<?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="Counter machine - Page 23 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Counter_machine&amp;p=22">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Counter_machine&amp;p=24">3.Next</a>
</p>
<p>how the first basic instructions { INC, DEC, JZ } can create three more instructions--unconditional jump J, CLR, CPY. In a sense CPY used both CLR and J plus the base set. If register #3 had had contents initially, the sum of contents of #2 and #3 would have ended up in #3. So to be fully accurate CPY program should have preceded its moves with CLR (1) and CLR (3).</p>

<p>However, we do see that ADD would have been possible, easily. And in fact the following is summary of how the <a href="page.php?w=primitive_recursive_function">primitive recursive function</a>s</p><p>
<a accesskey="1" href="page.php?w=Counter_machine&amp;p=22">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Counter_machine&amp;p=24">3.Next</a>
</p>

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

</card>
</wml>
