Mel,<br>It never occurred to me before that it was of enough interest to bother to make open-source, but I am happy to do it.&nbsp; The introduction is buried in my course notes starting shortly after<br><a href="http://www.cs.luc.edu/~anh/150s07/notes/notes.html#Binary">http://www.cs.luc.edu/~anh/150s07/notes/notes.html#Binary</a><br>
The simulator itself also includes built-in help screens on the simulator and on the assembler language.<br><br>A RISC simulator would be a good alternative that would take some tweaking to show all the registers and adjust the assembler interpreter, but you can&#39;t get much simpler than this one-register machine. The instruction set comes from Decker and Hirshfield, but it is hardly a creative leap.&nbsp; I include code to input and output the binary file structure for Decker and Hirshfield&#39;s Java applet simulator, but that could easily be cut out.&nbsp; I never use it.<br>
<br>Andy<br><br><div class="gmail_quote">On Jan 27, 2008 11:58 PM, Mel Chua &lt;<a href="mailto:mel@melchua.com">mel@melchua.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Andy,<br><br>This is fantastic! Is the code open-source? (I&#39;m guessing yes, but just<br>making sure...) If it is, you might want to consider applying for<br>[[Project hosting]] on a <a href="http://laptop.org" target="_blank">laptop.org</a> machine and wrapping it into an .xo<br>
package so that kids can download and play with it. (Also, are there any<br>docs or tutorials to start new hackers off, or would you like someone to<br>write them?)<br><br>Might also make an interesting PyCon sprint for someone to work on, or a<br>
CS/EE class project in terms of porting this to the XO (and also<br>encouraging people to play with the firmware, [[OFW]], which is written<br>mostly in [[Forth]].)<br><br>Are there any teachers/professors/students who might be able to work on<br>
this project, or something like it, as a course assignment or some other<br>for-credit thing this semester? Persuading schools to &quot;count&quot; OLPC<br>projects towards graduation tends to help free up time to work on stuff. ;)<br>
<br>-Mel<br><div class="Ih2E3d"><br>Andrew Harrington wrote:<br>&gt; Sheila,<br>&gt; I am not, but I have a super-simple assembler simulator I use for intro<br>&gt; students. &nbsp;It is written in Python, using the simple Zelle graphic<br>
&gt; package my students used in class (so the graphics are pretty<br>&gt; primitive) &nbsp;and the central engine would easily allow modification for<br>&gt; another instruction set, and it has a console based I/O that the<br>
&gt; graphics wraps around.<br>&gt;<br>&gt; People are welcomed to hack it if interested.<br>&gt; <a href="http://www.cs.luc.edu/%7Eanh/150s07/examples/pipFiles.zip" target="_blank">http://www.cs.luc.edu/~anh/150s07/examples/pipFiles.zip</a><br>
&gt;<br>&gt; Andy<br>&gt;<br>&gt; On Jan 27, 2008 8:41 AM, sheila miguez &lt;<a href="mailto:shekay@pobox.com">shekay@pobox.com</a><br></div><div class="Ih2E3d">&gt; &lt;mailto:<a href="mailto:shekay@pobox.com">shekay@pobox.com</a>&gt;&gt; wrote:<br>
&gt;<br>&gt; &nbsp; &nbsp; I remember Mel mentioning a project to allow people to program a<br>&gt; &nbsp; &nbsp; low-level language via a high-level language. Is anyone here involved<br>&gt; &nbsp; &nbsp; in this?<br>&gt;<br>&gt; &nbsp; &nbsp; --<br>&gt; &nbsp; &nbsp; sheila<br>
&gt; &nbsp; &nbsp; _______________________________________________<br>&gt; &nbsp; &nbsp; OLPC-Chicago mailing list<br></div>&gt; &nbsp; &nbsp; <a href="mailto:OLPC-Chicago@lists.laptop.org">OLPC-Chicago@lists.laptop.org</a> &lt;mailto:<a href="mailto:OLPC-Chicago@lists.laptop.org">OLPC-Chicago@lists.laptop.org</a>&gt;<br>
<div class="Ih2E3d">&gt; &nbsp; &nbsp; <a href="http://lists.laptop.org/listinfo/olpc-chicago" target="_blank">http://lists.laptop.org/listinfo/olpc-chicago</a><br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Andrew N. Harrington<br>
&gt; &nbsp;Director of Academic Programs<br>&gt; &nbsp;Computer Science Department<br>&gt; &nbsp;Loyola University Chicago<br>&gt; &nbsp;512B Lewis Towers (office)<br>&gt; &nbsp;Snail mail to Lewis Towers 416<br>&gt; &nbsp;820 North Michigan Avenue<br>
&gt; &nbsp;Chicago, Illinois 60611<br>&gt;<br>&gt; <a href="http://www.cs.luc.edu/%7Eanh" target="_blank">http://www.cs.luc.edu/~anh</a><br>&gt; Phone: 312-915-7999<br>&gt; Fax: &nbsp; &nbsp;312-915-7998<br></div>&gt; <a href="mailto:gdp@cs.luc.edu">gdp@cs.luc.edu</a> &lt;mailto:<a href="mailto:gdp@cs.luc.edu">gdp@cs.luc.edu</a>&gt; for graduate administration<br>
&gt; <a href="mailto:upd@cs.luc.edu">upd@cs.luc.edu</a> &lt;mailto:<a href="mailto:upd@cs.luc.edu">upd@cs.luc.edu</a>&gt; for undergrad administration<br>&gt; <a href="mailto:aharrin@luc.edu">aharrin@luc.edu</a> &lt;mailto:<a href="mailto:aharrin@luc.edu">aharrin@luc.edu</a>&gt; as professor<br>
&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br><div><div></div><div class="Wj3C7c">&gt;<br>&gt; _______________________________________________<br>&gt; OLPC-Chicago mailing list<br>
&gt; <a href="mailto:OLPC-Chicago@lists.laptop.org">OLPC-Chicago@lists.laptop.org</a><br>&gt; <a href="http://lists.laptop.org/listinfo/olpc-chicago" target="_blank">http://lists.laptop.org/listinfo/olpc-chicago</a><br></div>
</div></blockquote></div><br><br clear="all"><br>-- <br>Andrew N. Harrington<br> &nbsp;Director of Academic Programs<br> &nbsp;Computer Science Department <br> &nbsp;Loyola University Chicago <br> &nbsp;512B Lewis Towers (office) <br> &nbsp;Snail mail to Lewis Towers 416<br>
 &nbsp;820 North Michigan Avenue<br> &nbsp;Chicago, Illinois 60611<br><br><a href="http://www.cs.luc.edu/~anh">http://www.cs.luc.edu/~anh</a><br>Phone: 312-915-7999<br>Fax: &nbsp; &nbsp;312-915-7998<br><a href="mailto:gdp@cs.luc.edu">gdp@cs.luc.edu</a> for graduate administration<br>
<a href="mailto:upd@cs.luc.edu">upd@cs.luc.edu</a> for undergrad administration<br><a href="mailto:aharrin@luc.edu">aharrin@luc.edu</a> as professor