Quantcast
Channel: User HolyBlackCat - Stack Overflow
Viewing all articles
Browse latest Browse all 1287

Comment by HolyBlackCat on Does gcc compiled executable LSB imply "Least Significant Byte" and "Least Significant bit" at the same time?

$
0
0
@cpprust There are two different things here: bit order in bytes (on hardware level), and the order of bitfields (as chosen by GCC). The former can't exist in the first place, because there is absolutely no way to check the supposed "bit order", because there's no way to grab a bit by its index from memory, only a whole byte. The latter isn't defined by architecture and C standard, and is defined by GCC (and probably the platform's ABI). You can't use the latter to judge about the former.

Viewing all articles
Browse latest Browse all 1287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>