<div class="gmail_quote">On 22 February 2012 17:39, Don Clugston <span dir="ltr"><<a href="mailto:dac@nospam.com">dac@nospam.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 22/02/12 06:16, Walter Bright wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 2/21/2012 6:07 PM, Juan Manuel Cabo wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
16bit intel had 16bit segments and offsets, so memory was segmented<br>
and you couldn't address more than 64kb at a time.<br>
So you couldn't have grabbed^H^H"allocated" more than 64kb in real<br>
mode in intel<br>
in a single linear block.<br>
</blockquote>
<br>
size_t was 16 bits on all 16 bit memory models except the 'huge' one.<br>
</blockquote>
<br></div></div>
I expected that for ptrdiff_t, but for size_t as well?<br>
<br>
So sizeof(int *) was larger than size_t ?<br></blockquote><div><br></div></div>I've worked on platforms where sizeof(void*) was smaller than sizeof(size_t)