<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: A Simple Python CPU Emulator</title>
	<atom:link href="http://www.evilbitz.com/2006/12/23/a-simple-python-cpu-emulator/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.evilbitz.com/2006/12/23/a-simple-python-cpu-emulator/</link>
	<description>Powerful words dude, powerful...</description>
	<lastBuildDate>Sat, 09 Jan 2010 17:06:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: David Hagler</title>
		<link>http://www.evilbitz.com/2006/12/23/a-simple-python-cpu-emulator/comment-page-1/#comment-18823</link>
		<dc:creator>David Hagler</dc:creator>
		<pubDate>Thu, 29 May 2008 20:44:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.evilbitz.com/2006/12/23/a-simple-python-cpu-emulator/#comment-18823</guid>
		<description>Headsup and FYI for the curious, under unix&#039;s (bsd, linux, macosx) - his CR/LF&#039;s were causing me troubles, so .. convert his files.. and it all works</description>
		<content:encoded><![CDATA[<p>Headsup and FYI for the curious, under unix&#8217;s (bsd, linux, macosx) &#8211; his CR/LF&#8217;s were causing me troubles, so .. convert his files.. and it all works</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Hagler</title>
		<link>http://www.evilbitz.com/2006/12/23/a-simple-python-cpu-emulator/comment-page-1/#comment-18822</link>
		<dc:creator>David Hagler</dc:creator>
		<pubDate>Thu, 29 May 2008 20:43:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.evilbitz.com/2006/12/23/a-simple-python-cpu-emulator/#comment-18822</guid>
		<description>hey.. solved the puzzle, actually it took me longer to make the emulator work than to actually write the code
# are comments (remove them for this to work ..)
#R0 = 6
INC r0
INC r0
INC r0
INC r0
INC r0
INC r0
# increment R1 by 6 ...
INC r1
INC r1
INC r1
INC r1
INC r1
INC r1
# while decrementing R0 by 1
DEC r0
# until R0 is 0   (effectively 6x6)
TEST r0, 7

#increment r0 by 4
INC r0
INC r0
INC r0
INC r0
# while decrementing R1 by 1
DEC r1
# until R1 is 0   (effectively 36x4)
TEST r1, 15


R0 = 144, R1 = 0, R2 = 0, R3 = 0, R4 = 0

.. it helps if you know brainfuck ... :D</description>
		<content:encoded><![CDATA[<p>hey.. solved the puzzle, actually it took me longer to make the emulator work than to actually write the code<br />
# are comments (remove them for this to work ..)<br />
#R0 = 6<br />
INC r0<br />
INC r0<br />
INC r0<br />
INC r0<br />
INC r0<br />
INC r0<br />
# increment R1 by 6 &#8230;<br />
INC r1<br />
INC r1<br />
INC r1<br />
INC r1<br />
INC r1<br />
INC r1<br />
# while decrementing R0 by 1<br />
DEC r0<br />
# until R0 is 0   (effectively 6&#215;6)<br />
TEST r0, 7</p>
<p>#increment r0 by 4<br />
INC r0<br />
INC r0<br />
INC r0<br />
INC r0<br />
# while decrementing R1 by 1<br />
DEC r1<br />
# until R1 is 0   (effectively 36&#215;4)<br />
TEST r1, 15</p>
<p>R0 = 144, R1 = 0, R2 = 0, R3 = 0, R4 = 0</p>
<p>.. it helps if you know brainfuck &#8230; <img src='http://www.evilbitz.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
