On 2008-02-18, Oleg Verych <[email protected]> wrote:
> Oleg Verych @ Fri, 15 Feb 2008 03:56:28 +0000 (UTC)
> []
>> This is problem of high-level design, or blame whatever you want (e.g.
>> 8-bit past, Intel+MS hegemony, C and its "implementation-defined"), but
>> not msp430 toolchain.
>>
>> C was meant to be a macro-language for PDP-11 or something like that. And
>> all this is *text*. 30+ years of C, 20+ years of diff + patch --
>> something is very strange with _modern software technology_.
>
> Yes, *(--i)/*(i++) make such impression:
>
> + http://en.wikipedia.org/wiki/TI_MSP430
> `+ http://en.wikipedia.org/wiki/PDP-11
>   "A popular but false folk myth is that the instruction set architecture
>    of the PDP-11 influenced the idiomatic use of the C programming
>    language."

IIRC, those addressing modes were copied from C's predecessor
language BCPL, which was initially developed on a something
older than a PDP-11 that didn't have such addressing modes at
the machine instruction level.

-- 
Grant Edwards                   grante             Yow! Did an Italian CRANE
                                  at               OPERATOR just experience
                               visi.com            uninhibited sensations in
                                                   a MALIBU HOT TUB?


Reply via email to