Sujet : Re: technology discussion → does the world need a "new" C ?
De : tr.17687 (at) *nospam* z991.linuxsc.com (Tim Rentsch)
Groupes : comp.lang.cDate : 07. Jul 2024, 04:15:41
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <86a5itc2oy.fsf@linuxsc.com>
References : 1 2 3 4 5 6 7
User-Agent : Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Lawrence D'Oliveiro <
ldo@nz.invalid> writes:
On Fri, 05 Jul 2024 19:00:58 -0700, Keith Thompson wrote:
>
C assumes byte addressibility, but it doesn't assume that bytes are 8
bits.
>
The PDP-10 had 36-bit words and could operate on bit fields of any size
from 1 to 36 bits.
>
But it couldn't address them.
Actually it could. There was a special form of hardware pointer
designed specifically to address sub-word bitfields.