473,387 Members | 1,486 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 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 4569
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

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

Similar topics

354
by: Montrose... | last post by:
After working in c# for a year, the only conclusion I can come to is that I wish I knew c. All I need is Linux, the gnu c compiler and I can do anything. Web services are just open sockets...
14
by: Ben | last post by:
Hi, I need to write some data types into an array of unsigned chars. These are basically "signals" within a message, so each signal will have a start bit and a length. The signals will also...
9
by: silentlights | last post by:
HI, How could I handle groups of registers in a single function by passing the address of the registers to the functions as parameters..? I am trying something like.. typedef volatile struct...
26
by: Jeff_Relf | last post by:
Hi Olaf_Baeyens ( and Linonut ), Microsoft C++ is really it's latest version of MS_C, as Microsoft is not supporting the latest C standard, C99. cout and the STL are pure garbage and should...
5
by: kumarsssss | last post by:
I have just new to degugger. It shows the data registers and address registers. Data registers contatin the data values for the different variables. But what the address registers holds? Does...
28
by: philbo30 | last post by:
Simple question, I think: I have a known byte, "byte 1": 0000 0100 and a known portion of an unknown byte, "byte 2": bbbb 0100
77
by: borophyll | last post by:
As I read it, C99 states that a byte is an: "addressable unit of data storage large enough to hold any member of the basic character set of the execution environment" (3.6) and that a byte...
25
by: Daniel Kraft | last post by:
Hi, I do need to implement something similar to C++'s std::bitset in C; for this, I use an array of int's to get together any desired number of bits, possibly larger than 32/64 or anything like...
8
by: nickooooola | last post by:
Hello to all I'm about to write a simulator for a microcontroller in python (why python? because I love it!!!) but I have a problem. The registry of this processor are all 8 bit long (and 10...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.