Programming style and the 8086 (was: 8086)

From: Tom Jennings <tomj_at_wps.com>
Date: Fri Nov 14 14:16:50 2003

On Fri, 2003-11-14 at 06:14, Hans Franke wrote:

> > and that's about it. Don't you remember address normalization and
> > comparison woes?
>
> That's rather a fault of Microsoft than Intel.

Excuse me if I sound rude, but we're either misunderstanding each other,
or you don't understand how Intel 8086 segmentation works.

Address normalization is a hardware problem, not software (though I'll
gladly blame Microsoft on general principles). Here's a good
description:

http://www.geocities.com/thestarman3/asm/debug/Segments.html


>
> > Memory allocation schemes? Small/Medium/Large Model
> > compiler "options"?
>
> Now, that is something to blame on compiler developer.
> True, it was initiated by Intel, but I can't blame the
> CPU or the CPU designer for that. In fact, I never
> understood what these 'models' are good for, since they
> just define special cases within the only Model the
> CPU knows.

Sorry, again incorrect, and if you figure out what segmentation means in
Intelland, small/medium/large/huge models make unfortunate sense.
Received on Fri Nov 14 2003 - 14:16:50 GMT

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:36:19 BST