??? 02/17/09 19:10 Read: times Msg Score: -1 -1 Answer is Wrong |
#162525 - re: Tautology Responding to: ???'s previous message |
Andy Neil said:
Note that "LSB byte" doesn't actually make sense:
"LSB" means either "Least-Significant Bit" or (less often?) "Least-Significant Byte" - but, either way, "LSB byte" makes no sense. A common nomenclature uses the lower-case 'b' to mean bit, and the upper-case 'B' to mean byte. So LSb means "least-significant bit" and LSB means "least-significant byte." This is also handy with data rates: high-speed USB runs at 480 Mbps, not MBps, which is very fast indeed. (And it's also not running at 480 mbps, which isn't very fast at all.) When dealing with 32-bit words, I break the bytes down into: MSB: most-significant byte, bits [31:24] in little-endian or [0:7] in big-endian. NMSB: next-most-significant byte, bits [23:16] in little-endian or [8:15] in big-endian. NLSB: next-least-significant byte, bits [15:8] in little-endian or [16:23] in big-endian. LSB: least-significant byte, bits [7:0] in little-endian or [24:31] in big-endian. -a |
Topic | Author | Date |
LSB byte of 24 bits | 01/01/70 00:00 | |
a union | 01/01/70 00:00 | |
union = fast, but not portable | 01/01/70 00:00 | |
Shift-and-Mask = Portable, and possibly not slow | 01/01/70 00:00 | |
Shifts and masks often resulting in optimum native code | 01/01/70 00:00 | |
can be portable | 01/01/70 00:00 | |
Can be portable | 01/01/70 00:00 | |
More to it than that! | 01/01/70 00:00 | |
which is why I do this very thing | 01/01/70 00:00 | |
for completeness there is the pointer | 01/01/70 00:00 | |
Split the word? | 01/01/70 00:00 | |
Tautology? | 01/01/70 00:00 | |
re: Tautology | 01/01/70 00:00 | |
possible, but not universal![]() | 01/01/70 00:00 | |
thank you | 01/01/70 00:00 |