<br><br><div class="gmail_quote">On Thu, Oct 30, 2008 at 6:21 PM, Igor Stasenko <span dir="ltr"><<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>></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 <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>>:<br>
<div><div></div><div class="Wj3C7c">> Hi All,<br>
> I wonder if anyone has any 32-bit processor implementations, either in<br>
> Smalltalk or in some other, preferrably easy-to-parse, formal semantics. In<br>
> implementing the new JIT VM I would like to continue developing in Smalltalk<br>
> using VMMaker/Slang, but this implies having a processor simulation in<br>
> Smalltalk to produce actual machine code for. Ideally this would be an x86<br>
> of some description (doesn't need to be bang up to date, 386 would be fine).<br>
> I'd also welcome an ARM.<br>
> TIA<br>
><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. But I'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. 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>
><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Best regards,<br>
Igor Stasenko AKA sig.<br>
<br>
</font></blockquote></div><br>