Re: Problem doing a read...

Jeremy Fitzhardinge (jeremy@zip.com.au)
Tue, 06 Aug 1996 14:00:28 +1000


Albert Cahalan wrote:
> Which reminds me... Those numbers are ranges, right?
> I think I see an off-by-one error. Shouldn't that be:
>
> 0x08048000 0x08053fff r-xp 0x00000000 16:1 368915

Convention has memory ranges including the first byte but excluding the
last one. That way you can just subtract them and find the range size.
The limiting case is a 0 sized range, which by your convention would be
described as 4000-3fff; somewhat counterintuitive.

J