<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Tech Off - 8051 - executing opcodes from the data memory</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Tech Off - 8051 - executing opcodes from the data memory</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Wed, 19 Jun 2013 10:00:03 GMT</pubDate>
	<lastBuildDate>Wed, 19 Jun 2013 10:00:03 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>5</c9:totalResults>
	<c9:pageCount>-5</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Tech Off - 8051 - executing opcodes from the data memory</title>
		<description><![CDATA[<p>Hi!<br>
Does anybody know if is it possible to execute opcodes from the data memory (internal ram) on 8051?<br>
<br>
I want to redirect the program flow to instructions located in the data memory. I tried to move the data address into the PC register but this does not work.<br>
<br>
Thanks a lot.<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/108453-8051-executing-opcodes-from-the-data-memory/108453#108453</link>
		<pubDate>Wed, 07 Sep 2005 17:28:14 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/108453-8051-executing-opcodes-from-the-data-memory/108453#108453</guid>
		<dc:creator>TomasDeml</dc:creator>
		<slash:comments>5</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/TomasDeml/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - 8051 - executing opcodes from the data memory</title>
		<description><![CDATA[<p>The 8051 is a modified Harvard architecture with separate data and program address spaces.</p>
<p>Unless your hardware allows you to map part of the data space into the program space, you will not be able to execute opcodes in data space.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/108453-8051-executing-opcodes-from-the-data-memory/18db74def79c4ce782709dea012a543e#18db74def79c4ce782709dea012a543e</link>
		<pubDate>Wed, 07 Sep 2005 19:02:10 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/108453-8051-executing-opcodes-from-the-data-memory/18db74def79c4ce782709dea012a543e#18db74def79c4ce782709dea012a543e</guid>
		<dc:creator>Steven J Ackerman</dc:creator>
		<slash:comments>5</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Steven J Ackerman/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - 8051 - executing opcodes from the data memory</title>
		<description><![CDATA[<p><blockquote>
<div>Steven J Ackerman wrote:</div>
<div>
<p>The 8051 is a modified Harvard architecture with separate data and program address spaces.</p>
<p>Unless your hardware allows you to map part of the data space into the program space, you will not be able to execute opcodes in data space.</p>
</div>
</blockquote>
<br>
<br>
That's bad <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br>
<br>
I've also searched the net a bit, finding people being curious about the same question, but I have found only this:<br>
<br>
<blockquote>
<div>8052 forums wrote:</div>
<div><br>
Download the 8051 &quot;bible&quot;, chapter 1, page1 (talking about basics!) and read about the 8052 memory organisation. You will see that the 8052 is designed to have separate DATA (read RAM) and PROGRAM (read ROM) memories. You can not execute from DATA memory, you
 can not write to PROGRAM memory. To execute from RAM on an 8052, connect the RAM chip like this:
<br>
<br>
/WR (P3.6) from 8052 to /WE pin of RAM chip, <br>
/PSEN from 8052 to /OE pin of RAM chip. <br>
/EA to &#43;5V. <br>
<br>
This will allow you to write to the RAM chip as external data memory (but not read from it), and read from it as program memory starting from address 01000h. Instructions from 00000h to 00fffh will be executed from internal (EEP)ROM.
</div>
</blockquote>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/108453-8051-executing-opcodes-from-the-data-memory/e320f6a446194639bf809dea012a546b#e320f6a446194639bf809dea012a546b</link>
		<pubDate>Wed, 07 Sep 2005 19:43:37 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/108453-8051-executing-opcodes-from-the-data-memory/e320f6a446194639bf809dea012a546b#e320f6a446194639bf809dea012a546b</guid>
		<dc:creator>TomasDeml</dc:creator>
		<slash:comments>5</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/TomasDeml/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - 8051 - executing opcodes from the data memory</title>
		<description><![CDATA[<p>The question is why do you want to execute out of data memory?&nbsp; Did you run out of program memory space?&nbsp; If so, you might take a look at a recent article in Embedded Systems.&nbsp; It was either this month or last, I don't have my article folder at hand, but
 it describes how you can extend both the program and data memory without using additional pins for bank switching.&nbsp; It was a really slick article.&nbsp; The author I think worked for an emulator manufacture.&nbsp; Sorry about the details, e-mail me if you cannot locate
 it.<br>
<br>
Here are the details:<br>
<br>
Martin B. Pawloski (pme51@metaice.com). August 2005. &quot;Expand Your 8051 Memory&quot;. Embedded Systems Programming. p 20-29.<br>
<br>
Abstract: Here's a way to extend the life of the ever-popular 8051 microcontroller.&nbsp; The author's clever circuits and software extend the chip's addressing range without awkward tricks or cumbersome add-ons.<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/108453-8051-executing-opcodes-from-the-data-memory/edf39d22e8a146a398c69dea012a5496#edf39d22e8a146a398c69dea012a5496</link>
		<pubDate>Thu, 08 Sep 2005 16:10:15 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/108453-8051-executing-opcodes-from-the-data-memory/edf39d22e8a146a398c69dea012a5496#edf39d22e8a146a398c69dea012a5496</guid>
		<dc:creator>Grumpy</dc:creator>
		<slash:comments>5</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Grumpy/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - 8051 - executing opcodes from the data memory</title>
		<description><![CDATA[<p><blockquote>
<div>Grumpy wrote:</div>
<div>The question is why do you want to execute out of data memory?&nbsp; Did you run out of program memory space?&nbsp; If so, you might take a look at a recent article in Embedded Systems.&nbsp; It was either this month or last, I don't have my article folder at hand, but
 it describes how you can extend both the program and data memory without using additional pins for bank switching.&nbsp; It was a really slick article.&nbsp; The author I think worked for an emulator manufacture.&nbsp; Sorry about the details, e-mail me if you cannot locate
 it.<br>
<br>
Here are the details:<br>
<br>
Martin B. Pawloski (pme51@metaice.com). August 2005. &quot;Expand Your 8051 Memory&quot;. Embedded Systems Programming. p 20-29.<br>
<br>
Abstract: Here's a way to extend the life of the ever-popular 8051 microcontroller.&nbsp; The author's clever circuits and software extend the chip's addressing range without awkward tricks or cumbersome add-ons.<br>
<br>
</div>
</blockquote>
<br>
<br>
Thanks for the article. I'll inspect it asap <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br>
<br>
No, I did not run out of the program space but I was trying whether it is possible to dynamically emit opcodes and then execute them; some sort of JIT. I was just curious <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/108453-8051-executing-opcodes-from-the-data-memory/57f9a4641055452baf719dea012a54c3#57f9a4641055452baf719dea012a54c3</link>
		<pubDate>Thu, 08 Sep 2005 16:49:51 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/108453-8051-executing-opcodes-from-the-data-memory/57f9a4641055452baf719dea012a54c3#57f9a4641055452baf719dea012a54c3</guid>
		<dc:creator>TomasDeml</dc:creator>
		<slash:comments>5</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/TomasDeml/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>