Re: bits and bytes, Keeping other stuff with addresses

Liste des GroupesRevenir à c arch 
Sujet : Re: bits and bytes, Keeping other stuff with addresses
De : johnl (at) *nospam* taugh.com (John Levine)
Groupes : comp.arch
Date : 04. Dec 2024, 04:39:07
Autres entêtes
Organisation : Taughannock Networks
Message-ID : <vioisr$2raf$1@gal.iecc.com>
References : 1 2 3 4
User-Agent : trn 4.0-test77 (Sep 1, 2010)
It appears that Stefan Monnier  <monnier@iro.umontreal.ca> said:
Yes, but that was a misunderstanding.  I'm not suggesting that
load/store instructions can access things at any bit position and any
bit size.  Any load or store with a pointer whose last 3 bits is not 0 would
presumably signal en error.
Seems like an odd place to put what are in practice just flag bits.
>
It's a very natural one, tho.

I don't see why.  We agree that nobody expects bit addressing to work, so
in fact those are flag bits.  You can use them to point at bits if you want
but there's no architectural or practical reason to do so.

Byte addressing is somewhat arbitrary
(why 8 bits, why not 16 or 4 or 6 or 9 ...?), whereas bit-addressing has
some logic to it (fractional bit addressing would be hard to define).

On the PDP-10 you could have any byte size you wanted, but in fact it was always
7 bits since that was how many ASCII needed and five 7-bit characters fit in a
36 bit word with one bit left over that was used as a flag that the word
contained a five digit line number.

At this point the reason you use 8 bit bytes is that everyone else uses 8 bit
bytes. In about 1980 BBN had a 16 bit byte addressed machine called the C30 that
ran Unix and someone had the bright idea to expand the address space from 16 to
20 bits on the larger C70 by making the bytes 10 bits rather than 8. I talked to
someone who programmed it and told me that it was miserable because the C code
was full of implicit assumptions that bytes were 8 bits.

--
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly

Date Sujet#  Auteur
28 Nov 24 * What is an N-bit machine?107John Dallman
28 Nov 24 +* Re: What is an N-bit machine?83Michael S
30 Nov 24 i`* Re: What is an N-bit machine?82John Levine
30 Nov 24 i +* Re: What is an N-bit machine?11Stephen Fuld
30 Nov 24 i i`* Re: What is an N-bit machine?10John Levine
30 Nov 24 i i +* Re: What is an N-bit machine?2Michael S
1 Dec 24 i i i`- Re: What is an N-bit machine?1Paul A. Clayton
30 Nov 24 i i `* Re: What is an N-bit machine?7MitchAlsup1
1 Dec 24 i i  +* Re: What is an N-bit machine?2Thomas Koenig
1 Dec 24 i i  i`- Re: What is an N-bit machine?1Anton Ertl
2 Dec 24 i i  `* Re: What is an N-bit machine?4Terje Mathisen
3 Dec 24 i i   +* Re: What is an N-bit machine?2Brian G. Lucas
3 Dec 24 i i   i`- Re: What is an N-bit machine?1Stephen Fuld
15 Dec 24 i i   `- Re: What is an N-bit machine?1Waldek Hebisch
30 Nov 24 i `* Keeping other stuff with addresses (was: What is an N-bit machine?)70Anton Ertl
30 Nov 24 i  +* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)32Anton Ertl
30 Nov 24 i  i`* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)31Thomas Koenig
30 Nov 24 i  i `* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)30Anton Ertl
30 Nov 24 i  i  `* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)29Michael S
30 Nov 24 i  i   `* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)28Anton Ertl
30 Nov 24 i  i    +* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)22Michael S
1 Dec 24 i  i    i`* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)21Anton Ertl
1 Dec 24 i  i    i `* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)20Thomas Koenig
1 Dec 24 i  i    i  +* Re: Keeping other stuff with addresses4David Schultz
1 Dec 24 i  i    i  i`* Re: Keeping other stuff with addresses3Thomas Koenig
4 Dec 24 i  i    i  i `* Re: Keeping other stuff with addresses2MitchAlsup1
4 Dec 24 i  i    i  i  `- Re: Keeping other stuff with addresses1John Levine
1 Dec 24 i  i    i  `* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)15Tim Rentsch
1 Dec 24 i  i    i   +* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)12Thomas Koenig
1 Dec 24 i  i    i   i+- Re: Keeping other stuff with addresses (was: What is an N-bit machine?)1Michael S
1 Dec 24 i  i    i   i+- Re: Keeping other stuff with addresses (was: What is an N-bit machine?)1Brett
31 Dec 24 i  i    i   i`* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)9Tim Rentsch
1 Jan 25 i  i    i   i `* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)8Thomas Koenig
2 Jan 25 i  i    i   i  `* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)7Tim Rentsch
2 Jan 25 i  i    i   i   `* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)6Thomas Koenig
8 Jan 25 i  i    i   i    `* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)5Tim Rentsch
8 Jan 25 i  i    i   i     `* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)4Thomas Koenig
28 Jan 25 i  i    i   i      `* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)3Tim Rentsch
28 Jan 25 i  i    i   i       `* Re: Keeping other stuff with addresses2David Brown
2 Feb 25 i  i    i   i        `- Re: Keeping other stuff with addresses1Thomas Koenig
2 Dec 24 i  i    i   `* Re: Keeping other stuff with addresses2Terje Mathisen
31 Dec 24 i  i    i    `- Re: Keeping other stuff with addresses1Tim Rentsch
30 Nov 24 i  i    +* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)3John Levine
1 Dec 24 i  i    i`* What is an N-bit machine?2Anton Ertl
16 Dec 24 i  i    i `- Re: What is an N-bit machine?1Waldek Hebisch
30 Nov 24 i  i    `* Re: Keeping other stuff with addresses (was: What is an N-bit machine?)2Thomas Koenig
1 Dec 24 i  i     `- Re: Keeping other stuff with addresses (was: What is an N-bit machine?)1Anton Ertl
1 Dec 24 i  +- Re: Keeping other stuff with addresses (was: What is an N-bit machine?)1Anton Ertl
2 Dec 24 i  +* Re: Keeping other stuff with addresses34Chris M. Thomasson
2 Dec 24 i  i`* Re: Keeping other stuff with addresses33MitchAlsup1
2 Dec 24 i  i `* Re: Keeping other stuff with addresses32Chris M. Thomasson
3 Dec 24 i  i  `* Re: Keeping other stuff with addresses31Chris M. Thomasson
3 Dec 24 i  i   `* Re: Keeping other stuff with addresses30Stefan Monnier
3 Dec 24 i  i    +* Re: Keeping other stuff with addresses27John Levine
3 Dec 24 i  i    i+* Re: Keeping other stuff with addresses24Stefan Monnier
4 Dec 24 i  i    ii`* Re: Keeping other stuff with addresses23John Levine
4 Dec 24 i  i    ii `* Re: Keeping other stuff with addresses22Stefan Monnier
4 Dec 24 i  i    ii  +* Re: Keeping other stuff with addresses19MitchAlsup1
4 Dec 24 i  i    ii  i+- Re: Keeping other stuff with addresses1Thomas Koenig
4 Dec 24 i  i    ii  i+* Re: Keeping other stuff with addresses3Stefan Monnier
4 Dec 24 i  i    ii  ii+- Re: Keeping other stuff with addresses1MitchAlsup1
5 Dec 24 i  i    ii  ii`- Re: Keeping other stuff with addresses1Keith Thompson
5 Dec 24 i  i    ii  i+- Re: bytes, Keeping other stuff with addresses1John Levine
22 Dec 24 i  i    ii  i`* unaligned load/store (was: Re: Keeping other stuff with addresses)13Jonathan Thornburg
22 Dec 24 i  i    ii  i +* Re: unaligned load/store11MitchAlsup1
22 Dec 24 i  i    ii  i i+* Re: unaligned load/store4Thomas Koenig
22 Dec 24 i  i    ii  i ii+- Re: unaligned load/store1Anton Ertl
22 Dec 24 i  i    ii  i ii+- Re: unaligned load/store1John Dallman
23 Dec 24 i  i    ii  i ii`- Re: unaligned load/store1Chris M. Thomasson
22 Dec 24 i  i    ii  i i`* Re: unaligned load/store6Thomas Koenig
23 Dec 24 i  i    ii  i i +- Re: unaligned load/store1MitchAlsup1
26 Dec 24 i  i    ii  i i `* Re: unaligned load/store4Stefan Monnier
26 Dec 24 i  i    ii  i i  +- Re: unaligned load/store1George Neuner
26 Dec 24 i  i    ii  i i  `* Re: unaligned load/store2MitchAlsup1
26 Dec 24 i  i    ii  i i   `- Re: unaligned load/store1Chris M. Thomasson
22 Dec 24 i  i    ii  i `- Re: unaligned load/store (was: Re: Keeping other stuff with addresses)1Anton Ertl
4 Dec 24 i  i    ii  `* Re: bits and bytes, Keeping other stuff with addresses2John Levine
4 Dec 24 i  i    ii   `- Re: bits and bytes, Keeping other stuff with addresses1Stefan Monnier
3 Dec 24 i  i    i`* Re: Keeping other stuff with addresses2MitchAlsup1
4 Dec 24 i  i    i `- Re: Keeping other stuff with addresses1Chris M. Thomasson
4 Dec 24 i  i    `* Re: Keeping other stuff with addresses2Chris M. Thomasson
4 Dec 24 i  i     `- Re: Keeping other stuff with addresses1Stefan Monnier
4 Dec 24 i  `* Re: Keeping other stuff with addresses2Keith Thompson
4 Dec 24 i   `- Re: Keeping other stuff with addresses1MitchAlsup1
28 Nov 24 +* Re: What is an N-bit machine?18Thomas Koenig
28 Nov 24 i+* Re: What is an N-bit machine?2MitchAlsup1
28 Nov 24 ii`- Re: What is an N-bit machine?1Brett
28 Nov 24 i`* Re: What is an N-bit machine?15Lawrence D'Oliveiro
28 Nov 24 i `* Re: What is an N-bit machine?14John Dallman
28 Nov 24 i  +* Re: What is an N-bit machine?9Lynn Wheeler
28 Nov 24 i  i+- Re: What is an N-bit machine?1John Dallman
29 Nov 24 i  i`* IBM and Amdahl history (Re: What is an N-bit machine?)7Anton Ertl
29 Nov 24 i  i +- Re: IBM and Amdahl history (Re: What is an N-bit machine?)1Lynn Wheeler
29 Nov 24 i  i +- Re: IBM and Amdahl history (Re: What is an N-bit machine?)1Lynn Wheeler
29 Nov 24 i  i `* Re: IBM and Amdahl history (Re: What is an N-bit machine?)4Lawrence D'Oliveiro
30 Nov 24 i  i  `* Re: IBM and Amdahl history (Re: What is an N-bit machine?)3Anton Ertl
30 Nov 24 i  i   +- Re: IBM and Amdahl history (Re: What is an N-bit machine?)1John Dallman
1 Dec 24 i  i   `- Re: IBM and Amdahl history (Re: What is an N-bit machine?)1Lawrence D'Oliveiro
29 Nov 24 i  `* Re: What is an N-bit machine?4Lawrence D'Oliveiro
30 Nov 24 i   +- Re: What is an N-bit machine?1Brett
30 Nov 24 i   +- Re: market power, What is an N-bit machine?1John Levine
30 Nov 24 i   `- Re: What is an N-bit machine?1Lynn Wheeler
28 Nov 24 +- Re: What is an N-bit machine?1MitchAlsup1
28 Nov 24 +- Re: What is an N-bit machine?1Lynn Wheeler
29 Nov 24 `* Re: What is an N-bit machine?3Anton Ertl

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal