Date: Tue, 30 Sep 1997 18:58:16 -0400 (EDT) Message-Id: <199709302258.SAA18761@delorie.com> From: DJ Delorie To: peuha AT cc DOT helsinki DOT fi CC: djgpp AT delorie DOT com In-reply-to: <199709300645.JAA26245@kruuna.Helsinki.FI> (message from Esa A E Peuha on Tue, 30 Sep 1997 09:45:03 +0300 (EET DST)) Subject: Re: Segments vs Selectors Precedence: bulk > 1M+64K-16, I hope. The highest address that can be accessed with a real-mode > segment:offset pair is (16+1)*0xffff = 0x10ffef. Yes, but you can't control large segments that finely. You have to round it to at least a 4K boundary. Besides, the limit is 1M+64-16+3, since you can do a 32-bit access starting at the last byte in the segment, and it will go past the end of the segment.