Link to home
Start Free TrialLog in
Avatar of srimallikarthik
srimallikarthikFlag for India

asked on

Where/When does Bit endianness matters?

Experts,

I am having below two  queries related to endianness . Please help.

1) Bit endianness where/when it matters to be taken care of?
2)Will the BYTE endianness changes have any dependency to BIT endianess?

Basically, i wanted to know the BIT ENDIANNES
Avatar of Infinity08
Infinity08
Flag of Belgium image

Bit endianness is only relevant if you are on a platform that can address bits separately, or if you're using a transmission protocol that sends bit per bit.

Are you in any of these situations ?

Endianness is also a factor when exchanging binary data (related to Infinity's comment of a transmission protocol), often times in emulation/simulation, or where it's important to know if the memory representation of a multi-byte item is the same as the register representation.

Avatar of srimallikarthik

ASKER

i understood the transmission protocol scenario, can you add more detail about the "platform that can address bits separately". Is it like, processor architecture  dependable? can you mention any platform where/when it address bits separately. This would be  very helpful
i am developing protocol stack currently, i am handling BYTE endianness currently to support multi platforms. Need to know whether i shld consider BIT endianness.
Hi srimallikarthik,

I don't believe that bit endianness is something to cause an issue.  It would come into play only when the number 1 is stored so that only the leftmost bit of an object is set (a very odd computer indeed), or the quite rare (and generally quite old) computer where items can be addressed to the bit level.


Any benefit from coding for it will probably never be realized.


Kent
ASKER CERTIFIED SOLUTION
Avatar of Infinity08
Infinity08
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Infinity08 & Kdo,

Thanks for posting