Sujet : Re: technology discussion ? does the world need a "new" C ?
De : dave_thompson_2 (at) *nospam* comcast.net
Groupes : comp.lang.cDate : 25. Aug 2024, 21:59:03
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <do6ncjhi2qdv7dgdkv5bp50no2edibnemq@4ax.com>
References : 1 2 3 4 5 6 7
User-Agent : Forte Agent 3.3/32.846
On Sat, 6 Jul 2024 07:25:06 -0000 (UTC), Lawrence D'Oliveiro
<
ldo@nz.invalid> wrote:
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 couldnt address them.
Yes it could, but only with specific instructions (LDB ILDB DPB IDPB
IBP) not the much more varied (even weird) word and halfword insns.