<?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=RSWD</id>
		<title>RSWD - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.intellivision.us/index.php?action=history&amp;feed=atom&amp;title=RSWD"/>
		<link rel="alternate" type="text/html" href="http://wiki.intellivision.us/index.php?title=RSWD&amp;action=history"/>
		<updated>2026-04-17T22:19:14Z</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=RSWD&amp;diff=14881&amp;oldid=prev</id>
		<title>Mr z: Protected &quot;RSWD&quot; ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))</title>
		<link rel="alternate" type="text/html" href="http://wiki.intellivision.us/index.php?title=RSWD&amp;diff=14881&amp;oldid=prev"/>
				<updated>2010-12-04T09:09:13Z</updated>
		
		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php/RSWD&quot; title=&quot;RSWD&quot;&gt;RSWD&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 09: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=RSWD&amp;diff=1370&amp;oldid=prev</id>
		<title>Pingaso at 21:48, 11 January 2005</title>
		<link rel="alternate" type="text/html" href="http://wiki.intellivision.us/index.php?title=RSWD&amp;diff=1370&amp;oldid=prev"/>
				<updated>2005-01-11T21:48:33Z</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;Return Status Word&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;RSWD&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;6&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;$0038-$003F&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 Return Status Word (RSWD) instruction sets or clears the [[Sign Flag]], [[Zero Flag]], [[Overflow Flag]], and [[Carry Flag]] according to the value in the specified register. The opcode format is as follows.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    0000:0000:0011:1rrr&amp;lt;br/&amp;gt;&lt;br /&gt;
    where:&lt;br /&gt;
        rrr  indicates the target register&lt;br /&gt;
             such that:&lt;br /&gt;
                 rrr == 000   indicates register R0&lt;br /&gt;
                 rrr == 001   indicates register R1&lt;br /&gt;
                 rrr == 010   indicates register R2&lt;br /&gt;
                 rrr == 011   indicates register R3&lt;br /&gt;
                 rrr == 100   indicates register R4&lt;br /&gt;
                 rrr == 101   indicates register R5&lt;br /&gt;
                 rrr == 110   indicates register R6&lt;br /&gt;
                 rrr == 111   indicates register R7&lt;br /&gt;
&lt;br /&gt;
After the RSWD instruction is executed, the S, Z, O, and C flags will be set or clear based on the bits in the specified register according to the format below.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    0000:0000:szoc:0000&amp;lt;br/&amp;gt;&lt;br /&gt;
    where:&lt;br /&gt;
        s    if one(1), the [[Sign Flag]] is set; otherwise, cleared&lt;br /&gt;
        z    if one(1), the [[Zero Flag]] is set; otherwise, cleared&lt;br /&gt;
        o    if one(1), the [[Overflow Flag]] is set; otherwise, cleared&lt;br /&gt;
        c    if one(1), the [[Carry Flag]] is set; otherwise, cleared&lt;/div&gt;</summary>
		<author><name>Pingaso</name></author>	</entry>

	</feed>