This topic is now archived and is closed to further replies.


hi- and lo-order bits

Recommended Posts

Normally thats like asm talk... as I''ve seen it.

Anyhoo, I don''t know to much assembler but I did come across those terms. it works like this:

A normal int is 16 bits, 2 bytes, the high order bits are numbers 15-8, while the lo order ones are bits 7-0.

15 14 13 12 11 10 09 08|07 06 05 04 03 02 01 00

Not sure what you mean in your second sentace.. but I think you mean what bitmask or bitoperations you can use to extract it?

If thats what you mean
I think thats right.

Share this post

Link to post
Share on other sites
And just to be technically correct, in a 16 bit integer (WORD), bits 8-15 would make up the "high order byte". The high order bit is 15. The term order refers to placement of some value relative to another. Example:

A DWORD (unsigned 32 bit int) has a high-order word and a low-order word

A WORD (unsigned 16 bit int) has a high-order byte and a low-order byte

etc... etc... It''s all relative.

Share this post

Link to post
Share on other sites