Subject: Re: Type coersion long->int ?
To: current-users <firstname.lastname@example.org>
From: Peter Seebach <email@example.com>
Date: 02/04/2000 18:28:56
In message <m12Gt2x-001JZ9C@mail.augustmail.com>, Bob Nestor writes:
>The TI C3x DSP uses a 32-bit int as a char; the machine can only address
>32-bit words. The Cray XMP/YMP is also a word addressable system, but
>the "C" implementation used a 8-bit quantity for a char and did the
>manipulation in software. I'm assuming both are "correct" as far as the
>standard went at the time and that the size of a char was left to the
Well, in *theory*, the char should be "smallest addressable size".
A lot of implementations bend over backwards to make 'char' and 'void'
pointers "work" as 8-bit values. It's sometimes worth it.