substracting the pointers to two sequential functions didn't work out. the following snippet:<div>//<br><div><div>auto first=function void(){</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>asm{</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>naked;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>nop;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>}</div>
<div><span class="Apple-tab-span" style="white-space: pre; "> </span>};</div><div>auto next=function void(){</div><div><span class="Apple-tab-span" style="white-space: pre; "> </span>asm{</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>naked;</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>nop;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>};</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>writeln(cast(int)&next-cast(int)&first,"/",cast(int)&next,"/",&next,"/",cast(int)&first,"/",&first);</div>
</div></div><div>//</div><div>outputs </div><div>4/1244672/12FE00/1244668/12FDFC</div><div>so the conversions from hex to int work correctly and I still get a size of 4 while it shouldve been a size of 1.</div><div>Are there other options?</div>