[Vm-dev] [VM-dev] What the difference in method format between 32 and 64 bits images?

Denis Kudriashov dionisiydk at gmail.com
Wed Apr 12 15:42:20 UTC 2017


Hi

I am testing serialization library and now I have problem with compiled
methods.
I try to materialise 64bits method in 32bits image and otherwise. Both is
not working (but in same image everything is fine).

I investigated following difference with "Margitude>>between:and:" as
example:

(Margitude>>between:and:) size.  "=> 64bits->46; 32bits->30"

(Margitude>>between:and:)  header. "same 34078723 for 64 and 32 bits"

(Margitude>>between:and:)  initialPC. "=> 64bits-> 33; 32bits->17"


Is there any formula to convert these values between 64 and 32 bits?

Best regards,
Denis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20170412/7bee5040/attachment.html>


More information about the Vm-dev mailing list