I'm not saying computer standards aren't still a mess right now, but 60-70 years ago we didn't even agree on how many bits a byte was so things could be worse
it could be any number of bits less than (or equal to?) 36

I'm not saying computer standards aren't still a mess right now, but 60-70 years ago we didn't even agree on how many bits a byte was so things could be worse
it could be any number of bits less than (or equal to?) 36
I read a specification from a customer just last week where all memory sizes where explicitly given in "Ko" (Kilo-octects) and "Mo" (Mega-octects)
Which is admittedly clearer than just writing "B" when dealing with raw flash/RAM/EEPROM chips, where it's still customary to specify sizes in bits rather than bytes for who knows whatever reason
This is, AFAIK, the way the French always write it. “B” and “b” for them both mean “bits”, which can accidentally cause an increase in confusion when a French speaker writes “32 KB” meaning “32 kilobits”, and an English speaker reads “32 kilobytes” because of the capitalization.
to be fair, most non-french people don't know there's a difference, either. That's probably part of the reason why advertising internet connections in Mb/s is more appealing, it sounds faster.
Oh absolutely! B/b is a classic example of that special sort of cheeky-clever that tech people love to employ to the confusion of everyone else. There's a reason the symbol for “miles” is “mi”, not “M”. (“Because M is bigger than m! Ho ho ho, we're so smart!”) I Hate it.
This is still true in C. A byte (char) has to be at least 8 bits but can be longer. As far as I'm aware, it's totally fine for an implementation to define most of the int-ish types to be 32 bits.
Technically, the byte instructions will allow any byte size from 0 to 36, inclusive. Of course, 0 isn't very useful.
lmao hey there, I think I've used a lot of your work under klh10. And yeah I linked the relevant docs in a followup post.
I cannot stress enough how actually amazing this is. Working with a system that has direct support for loading and storing groups of bits that aren't 8 makes dealing with lots of low level stuff like crypto or many types of compression a piece of cake. It makes everything else feel like shit.
oh i can absolutely see how that sort of thing would be incredible it's the other stuff i'm terrified of
Virgin 64 bit computer from 2023: unaligned word access makes me sads
Chad PDP-10: I can cut a byte to any size you like, son. You just have to ask.