Pointer incrementation and assignme
Henry Spencer
henry at utzoo.uucp
Sun Jun 4 12:40:38 AEST 1989
In article <1929 at ektools.UUCP> randolph at ektools.UUCP (Gary L. Randolph) writes:
>I recall, from my PDP 11 assembler days, two addressing modes;
>autoincrement and autodecrement. I believe that something of this nature
>had *much* more to do with the post and preincrement/decrement operators
>than did K&R's typing skills.
I made the same mistake a while ago, and Dennis corrected me: ++ and --
date to the pdp7 days and the B language, and have nothing in particular
to do with the pdp11 addressing modes. The 7 had a vaguely similar feature
in the hardware, although it was more difficult to exploit, and this may
have inspired Ken Thompson, but the code-generation aspects were not
significant, since B was an interpreted language. The operators definitely
started out as a notational convenience.
--
You *can* understand sendmail, | Henry Spencer at U of Toronto Zoology
but it's not worth it. -Collyer| uunet!attcan!utzoo!henry henry at zoo.toronto.edu
More information about the Comp.lang.c
mailing list