no comments (yet)

sorted by: hot top controversial new old
there doesn't seem to be anything here
1 comment in c/LinuxNews@lemmy.world view that post
[–] 2 points 3 weeks ago

That's too basic.

If you have a piece of data that takes more than a single byte then you have to choose and order for the bytes. For a 16bit int do you put the "big" byte (representing the part above 255) first or second? Writing decimal numbers we put the big digits first, but processors usually (but not always, like here) put the smaller bytes first (to the left, or at smaller addresses). That's it.

  • source