In someways the smallest unit that a computer actually works with (at least in software) is a byte. 256 Genders confirmed!
Even when you have a bool type it's really just an unsigned byte, and memory and registers can't be accessed at the boolean level either.
What about the bit? 8 of which make up a byte.
In software you don't have direct access to that bit. Yes, in hardware the computers are working with bits at the smallest level, but in software we are touching bytes at least even when we think we are touching bits. Yes, bit twiddling is a thing, but in that case you are manipulating bytes at minimum, or more likely a register quite a bit bigger than a byte.
On a Silicon Labs EFM8 microcontroller, bytes in the first bank of RAM are bit addressable without much fuckery at all. Can't just use bool on them, though... have to typedef it in.
Actually most, if not all, 8051-based micros have it.
(post is archived)