472,146 Members | 1,317 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,146 software developers and data experts.

Register Higer bits and lower bits

Please tell me what is higher and lower bits in a 8 bit register with value 01101010. Is the bits with value 1 are higher bit and bits with 0 value are lower bits.
Oct 29 '09 #1

✓ answered by Banfa

No the terms lowest, lower, low, highest, higher and high when refering to bits usually refer to the bits position in the byte, word or register, not its current value.

The bits value is normally referred to as 1, set and true or 0, clear and false.

It is important to know which is the lowest, and by implication which is the highest bit in the register. bits are normally numbered from right to left starting at zero so for your 8 bit register

Expand|Select|Wrap|Line Numbers
  1. Bit Number  76543210
  2. Bit Value   01101010
  3.  
But you will need to refer to your hardware technical specification or data sheet in order to find out which is the highest and lowest bit and therefore how to access them. There is no absolute standard although commonly bit 0 is the lowest bit.

2 4445
Banfa
9,065 Expert Mod 8TB
No the terms lowest, lower, low, highest, higher and high when refering to bits usually refer to the bits position in the byte, word or register, not its current value.

The bits value is normally referred to as 1, set and true or 0, clear and false.

It is important to know which is the lowest, and by implication which is the highest bit in the register. bits are normally numbered from right to left starting at zero so for your 8 bit register

Expand|Select|Wrap|Line Numbers
  1. Bit Number  76543210
  2. Bit Value   01101010
  3.  
But you will need to refer to your hardware technical specification or data sheet in order to find out which is the highest and lowest bit and therefore how to access them. There is no absolute standard although commonly bit 0 is the lowest bit.
Oct 29 '09 #2
Thanks You Banfa. It helped me to get what I want.
Oct 29 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

354 posts views Thread by Montrose... | last post: by
14 posts views Thread by Ben | last post: by
9 posts views Thread by silentlights | last post: by
5 posts views Thread by kumarsssss | last post: by
28 posts views Thread by philbo30 | last post: by
77 posts views Thread by borophyll | last post: by
25 posts views Thread by Daniel Kraft | last post: by
8 posts views Thread by nickooooola | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.