<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.intellivision.us/index.php?action=history&amp;feed=atom&amp;title=CMPI</id>
		<title>CMPI - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.intellivision.us/index.php?action=history&amp;feed=atom&amp;title=CMPI"/>
		<link rel="alternate" type="text/html" href="http://wiki.intellivision.us/index.php?title=CMPI&amp;action=history"/>
		<updated>2026-04-03T20:41:27Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://wiki.intellivision.us/index.php?title=CMPI&amp;diff=14766&amp;oldid=prev</id>
		<title>Mr z: Protected &quot;CMPI&quot; ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))</title>
		<link rel="alternate" type="text/html" href="http://wiki.intellivision.us/index.php?title=CMPI&amp;diff=14766&amp;oldid=prev"/>
				<updated>2010-12-04T08:09:48Z</updated>
		
		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php/CMPI&quot; title=&quot;CMPI&quot;&gt;CMPI&lt;/a&gt;&amp;quot; ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 08:09, 4 December 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mr z</name></author>	</entry>

	<entry>
		<id>http://wiki.intellivision.us/index.php?title=CMPI&amp;diff=1474&amp;oldid=prev</id>
		<title>Pingaso at 16:53, 17 January 2005</title>
		<link rel="alternate" type="text/html" href="http://wiki.intellivision.us/index.php?title=CMPI&amp;diff=1474&amp;oldid=prev"/>
				<updated>2005-01-17T16:53:38Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:CP1610]]&lt;br /&gt;
&amp;lt;table border&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Instruction Name&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Comnpare Immediate&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Mnemonic&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;CMPI&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;CP1610 Clock Cycles&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;8 or 10&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Interruptible&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Opcode Range&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;$0378-$037F&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Input Flags&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;None&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Output Flags&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;[[Sign Flag]], [[Zero Flag]], [[Overflow Flag]], [[Carry Flag]]&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
The Compare Immediate (CMPI) instruction is functionally identical to the [[SUBI|Subtract Immediate]] instruction except that it does not store the resulting value in the destination register. The Compare Immediate instruction subtracts the value at the address immediately following the opcode from the value in the specified destination register, and sets or clears the [[Sign Flag]], [[Zero Flag]], [[Overflow Flag]], and [[Carry Flag]] according to the result, but the final result is not stored in the destination register, leaving the register unchanged. Note that this is instruction is really just a variant of the [[CMP@|Compare Indirect]] instruction using R7 as the address register. See the [[CMP@|Compare Indirect]] documentation for more information.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    0000:0011:0111:1ddd&amp;lt;br/&amp;gt;&lt;br /&gt;
    where:&lt;br /&gt;
        ddd   indicates the destination register&lt;br /&gt;
              such that:&lt;br /&gt;
                  ddd == 000    indicates register R0&lt;br /&gt;
                  ddd == 001    indicates register R1&lt;br /&gt;
                  ddd == 010    indicates register R2&lt;br /&gt;
                  ddd == 011    indicates register R3&lt;br /&gt;
                  ddd == 100    indicates register R4&lt;br /&gt;
                  ddd == 101    indicates register R5&lt;br /&gt;
                  ddd == 110    indicates register R6&lt;br /&gt;
                  ddd == 111    indicates register R7&amp;lt;br/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pingaso</name></author>	</entry>

	</feed>