<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wikiti.brandonw.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=84PCE%3ARAM%3AD0053F</id>
		<title>84PCE:RAM:D0053F - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=84PCE%3ARAM%3AD0053F"/>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=84PCE:RAM:D0053F&amp;action=history"/>
		<updated>2026-04-05T18:53:41Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.5</generator>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=84PCE:RAM:D0053F&amp;diff=11187&amp;oldid=prev</id>
		<title>MateoConLechuga: Created page with &quot;D0053F - tempSP tempSP == Synopsis == '''Unofficial Name:''' tempSP  '''Memory Address:''' D0053Fh  '''Length:...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=84PCE:RAM:D0053F&amp;diff=11187&amp;oldid=prev"/>
				<updated>2016-05-26T15:30:35Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Category:84PCE:RAM:By_Address&quot; title=&quot;Category:84PCE:RAM:By Address&quot;&gt;D0053F - tempSP&lt;/a&gt; &lt;a href=&quot;/index.php?title=Category:84PCE:RAM:By_Name&quot; title=&quot;Category:84PCE:RAM:By Name&quot;&gt;tempSP&lt;/a&gt; == Synopsis == &amp;#039;&amp;#039;&amp;#039;Unofficial Name:&amp;#039;&amp;#039;&amp;#039; tempSP  &amp;#039;&amp;#039;&amp;#039;Memory Address:&amp;#039;&amp;#039;&amp;#039; D0053Fh  &amp;#039;&amp;#039;&amp;#039;Length:...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:84PCE:RAM:By Address|D0053F - tempSP]] [[Category:84PCE:RAM:By Name|tempSP]]&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Unofficial Name:''' tempSP&lt;br /&gt;
&lt;br /&gt;
'''Memory Address:''' D0053Fh&lt;br /&gt;
&lt;br /&gt;
'''Length:''' 3 bytes&lt;br /&gt;
&lt;br /&gt;
When the OS is checking the stack depth, it uses this region of memory to load hl with sp. For instance:&lt;br /&gt;
&lt;br /&gt;
 ld (tempSP),sp&lt;br /&gt;
 ld hl,(tempSP)&lt;br /&gt;
&lt;br /&gt;
It can generally be used as a temporary data location, although it may be written to at some points.&lt;br /&gt;
&lt;br /&gt;
==Why this is silly==&lt;br /&gt;
&lt;br /&gt;
However, it is simply beyond me why they didn't simply do this, to save a ton of bytes and speed.&lt;br /&gt;
&lt;br /&gt;
 or a,a&lt;br /&gt;
 sbc hl,hl&lt;br /&gt;
 add hl,sp&lt;/div&gt;</summary>
		<author><name>MateoConLechuga</name></author>	</entry>

	</feed>