<br><br><div class="gmail_quote">On Thu, Oct 30, 2008 at 6:21 PM, Igor Stasenko <span dir="ltr">&lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2008/10/31 Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt;:<br>
<div><div></div><div class="Wj3C7c">&gt; Hi All,<br>
&gt; &nbsp; &nbsp; I wonder if anyone has any 32-bit processor implementations, either in<br>
&gt; Smalltalk or in some other, preferrably easy-to-parse, formal semantics. &nbsp;In<br>
&gt; implementing the new JIT VM I would like to continue developing in Smalltalk<br>
&gt; using VMMaker/Slang, but this implies having a processor simulation in<br>
&gt; Smalltalk to produce actual machine code for. &nbsp;Ideally this would be an x86<br>
&gt; of some description (doesn&#39;t need to be bang up to date, 386 would be fine).<br>
&gt; &nbsp;I&#39;d also welcome an ARM.<br>
&gt; TIA<br>
&gt;<br>
<br>
</div></div>Hi Eliot.<br>
To my knowledge, Exupery is the only project which dealing with assembly code.<br>
There are some mechanisms to define instructions.</blockquote><div><br></div><div>I understand that. &nbsp;But I&#39;m not too interested in code generation (I can write this myself or adapt other code). What I need is a processor simulation to generate code for, preferrably a clone of an x86, one that executes its own instruction set. &nbsp;Then I can test the JIT in Smalltalk.</div>
<div><br></div><div>I believe Peter Deutsch write a 68000 simulator when he implemented PS, the first Smalltalk-80 JIT, but I could be wrong and perhaps he only implemented an assembler for the 68000.</div><div><br></div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<br>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Best regards,<br>
Igor Stasenko AKA sig.<br>
<br>
</font></blockquote></div><br>