I've searched around and can't find anything on what the middle bytes of a >16-bit integer are called, if anything. Are there standard names for these bytes?
E.g. the number
0x0D0C0B0A would have:
MSB ??? ??? LSB 0D 0C 0B 0A
Software Engineering Stack Exchange is a question and answer site for professionals, academics, and students working within the systems development life cycle. It only takes a minute to sign up.Sign up to join this community
I've been developing on embedded systems for a couple of decades, and have the same problem with a sensible naming.
I've seen many approachs, including mapping an overlay array of bytes and just using indexes (which does not solve the problem at all as endianness is not taken into account).
I eventually settled on MSB, MMSB, MLSB, LSB (where the extra M means "middle").
But really, anything at all that you do which is remotely sensible* will suffice.
*sensible in this sense means that there is a name with some kind of rationale behind it. Calling them bob and fred would not be sensible.