Xref: utzoo comp.sys.ibm.pc:22023 comp.sys.intel:590
Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!athena.mit.edu!adtaiwo
From: adtaiwo@athena.mit.edu (Ademola Taiwo)
Newsgroups: comp.sys.ibm.pc,comp.sys.intel
Subject: Re: correct code for pointer subtraction
Message-ID: <8377@bloom-beacon.MIT.EDU>
Date: 9 Dec 88 19:11:59 GMT
References: <597@mks.UUCP>
Sender: daemon@bloom-beacon.MIT.EDU
Reply-To: adtaiwo@athena.mit.edu (Ademola Taiwo)
Organization: Massachusetts Institute of Technology
Lines: 11

Hi,
	You should read your reference manual, (Turbo-C) specifically says
that there are no denormalizations done in all memory models except HUGE, so
you may want to use the Huge model and you are guaranteed 32-bit computations
on your pointers, including proper denormals.
	I think the compilers are right in generating 16bit code for all other
memory models, since you have been warned about the trade-off of speed/space
that you are making by chosing any other model but huge.
	On thesame note, pointer comparisons are not guaranteed to be correct
in any model but huge. So if you want to fool arund with very big arrays, turn
on the HUGE flag.