<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://channelf.se/veswiki/index.php?action=history&amp;feed=atom&amp;title=Status_register</id>
		<title>Status register - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://channelf.se/veswiki/index.php?action=history&amp;feed=atom&amp;title=Status_register"/>
		<link rel="alternate" type="text/html" href="http://channelf.se/veswiki/index.php?title=Status_register&amp;action=history"/>
		<updated>2026-05-30T12:16:31Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>http://channelf.se/veswiki/index.php?title=Status_register&amp;diff=139&amp;oldid=prev</id>
		<title>E5frog: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://channelf.se/veswiki/index.php?title=Status_register&amp;diff=139&amp;oldid=prev"/>
				<updated>2012-11-16T21:23:46Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 21:23, 16 November 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&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>E5frog</name></author>	</entry>

	<entry>
		<id>http://channelf.se/veswiki/index.php?title=Status_register&amp;diff=138&amp;oldid=prev</id>
		<title>Admin at 21:27, 20 November 2004</title>
		<link rel="alternate" type="text/html" href="http://channelf.se/veswiki/index.php?title=Status_register&amp;diff=138&amp;oldid=prev"/>
				<updated>2004-11-20T21:27:06Z</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;The status register is an 8-bit [[register]] used by the F8 to store the results of a previous operation, or as a flag to allow [[interrupts]]. Only the lower 5 bits of the register are used. In the '''LR''' [[opcode]], the status register can be accessed using the letter '''W''', though it can only be transferred back and forth from the register '''J''', or scratchpad register 9.&lt;br /&gt;
&lt;br /&gt;
The status register is primarily affected by mathematical opcodes, such as addition or any [[binary logic]]. When [[branch|branching]], the opcodes apply a [[bitmask]] to the status register and determine whether the condition is true or not.&lt;br /&gt;
&lt;br /&gt;
== Status Register Bits ==&lt;br /&gt;
&lt;br /&gt;
This table breaks down the status register bit-by-bit ([[least significant bit|LSB]] is bit 0):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot; style=&amp;quot;width: 50%&amp;quot; cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;4&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Bit&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Name&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Description&amp;lt;/th&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;0&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Sign&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;td&amp;gt;Carries the sign of the last operation (positive, negative)&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;td&amp;gt;Carry&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Set if the last operation resulted in a [[carry]].&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Zero&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Set if the value of the last operation was 0.&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Overflow&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Set if the last operation resulted in too large a number&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;ICB&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;td&amp;gt;Set if interrupts are to be enabled (use '''EI''', '''DI''')&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;td&amp;gt;''(unused)''&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;''(unused)''&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;''(unused)''&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>