<br><br><div class="gmail_quote">On Thu, Mar 14, 2013 at 8:35 PM, Helmut Rohregger <span dir="ltr">&lt;<a href="mailto:helmut.rohregger@gmail.com" target="_blank" class="vt-p">helmut.rohregger@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"><br>
Hi all<br>
<br>
maybe someone of you can help me.<br>
i am trying to read in a Squeak4.3.image in Java. My question is about the image-format.<br>
when i read in a compiled method, there is a object header, then a compiled method header and then some literals. The last 2 literals are always a ByteSymbol (message selector) and an association which contains the class. </blockquote>
<div><br></div><div>Not always ;)  For those methods that have primitives/pragmas, the penuntimal literal is an instance of AdditionalMethodState (which contains the selector).</div><div>See (Object&gt;&gt;#class) literals at: 2</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I know the address of this association is at 0x1631470 in my image.<br>
But the address stored as literal in the compiled method is 0x4801470. This is 0x31D0000 more then expected.<br>
Anyone an idea, where this comes from?<br>
Or maybe some help, where to look, to discover this?!?<br>
<br>
thanks<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank" class="vt-p">http://marianopeck.wordpress.com</a><br>