n00b question linked to bits :rolleyes:

Please support our Assembly advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Aug 2006
Posts: 13
Reputation: uu666 is an unknown quantity at this point 
Solved Threads: 0
uu666 uu666 is offline Offline
Newbie Poster

n00b question linked to bits :rolleyes:

 
0
  #1
Sep 7th, 2006
hello...

what this suppose to mean?
"With a single bit, you can represent any two distinct items" (ArtOfAssembly)

somehow, you can store in that bit, the value "hello there!" ? :rolleyes:

sorry for this stupid question :rolleyes:
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 2
Reputation: lax202as is an unknown quantity at this point 
Solved Threads: 0
lax202as lax202as is offline Offline
Newbie Poster

Re: n00b question linked to bits :rolleyes:

 
0
  #2
Sep 8th, 2006
It is true that with a single bit you can represent two distinct items but you cannot store "hello there!" on a single bit. Rather, a group of bits are used to store it. Remember that each character, say 'h', is represented by 1 byte or 8 bits. Therefore, "hello there!" is composed of 12 bytes or 96 bits.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Assembly Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC