WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2024 Poal.co

378

Holy shit, this might be their best one yet! LMAO!

Holy shit, this might be their best one yet! LMAO!

(post is archived)

[–] 3 pts (edited )

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.

[–] 0 pt

What about the bit? 8 of which make up a byte.

[–] 0 pt

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.

[–] [deleted] 0 pt (edited )

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.