<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Am 15.03.2013 13:18, schrieb Mariano
      Martinez Peck:<br>
    </div>
    <blockquote
cite="mid:CAA+-=mVyxbYUSuOpqfqfb34urH5a4dx95f7TWLC1k+8eVRG5HQ@mail.gmail.com"
      type="cite"><br>
      <div class="gmail_quote">On Thu, Mar 14, 2013 at 8:35 PM, Helmut
        Rohregger <span dir="ltr">&lt;<a moz-do-not-send="true"
            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 ;) &nbsp;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>
    </blockquote>
    ah ok. So this is an AdditionalMethodState which holds the selector
    and pragmas or properties. Thanks for pointing this out.<br>
    <blockquote
cite="mid:CAA+-=mVyxbYUSuOpqfqfb34urH5a4dx95f7TWLC1k+8eVRG5HQ@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">
        <div>&nbsp;</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>
    </blockquote>
    No idea, why the stored address differs from the real address?<br>
    <blockquote
cite="mid:CAA+-=mVyxbYUSuOpqfqfb34urH5a4dx95f7TWLC1k+8eVRG5HQ@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
        </blockquote>
      </div>
      -- <br>
      Mariano<br>
      <a moz-do-not-send="true" href="http://marianopeck.wordpress.com"
        target="_blank" class="vt-p">http://marianopeck.wordpress.com</a><br>
    </blockquote>
    <br>
    Helmut<br>
    <br>
  </body>
</html>