Forum menu
Bits or Bytes?
 

[Closed] Bits or Bytes?

Posts: 0
Free Member
 

Up.


 
Posted : 06/12/2011 2:23 pm
Posts: 31206
Full Member
 

What's a "women"?

[img] [/img]


 
Posted : 06/12/2011 2:30 pm
Posts: 4954
Free Member
 

I always though a word was twice as many bits as a byte. Hence in Windows typedefs WORD = 16 bits.


 
Posted : 06/12/2011 2:44 pm
Posts: 31206
Full Member
 

Nope, that's just a hangover from 16-bit versions of Windows.


 
Posted : 06/12/2011 2:49 pm
Posts: 4954
Free Member
 

I hate windows typedefs.


 
Posted : 06/12/2011 2:51 pm
Posts: 0
Free Member
 

I hate window pelmets


 
Posted : 06/12/2011 3:26 pm
Posts: 0
Free Member
 

small b is a bit, large B is a byte.

Not sure why they picked 4 bits to a byte, I think it was to do with the size of the MC instruction sets


 
Posted : 06/12/2011 3:45 pm
Posts: 6382
Free Member
 

The 8 bit byte was introduced by IBM with the 360 architecture.

FWIW.


 
Posted : 06/12/2011 4:00 pm
 mboy
Posts: 12651
Free Member
 

who cares about bytes and words, it's all about nibbles and more importantly: meganibbles.

Nibbles are good, MegaNibbles even better... I'm not so hot on the middle ground though, the KilaNibble has always filled me with dread personally!

If so, then what's a word?

A Word is as long or as short as its needed to be. It can be 8 bits, or 16 bits, or it could be 1 bit, 39 bits, 427 bits, or however long it needs to be to represent a large enough number as is required. AFAIK, the 8, 16, 32 and 64 bits that we have become familiar with is purely because those are the convenient sizes that were determined by Microsoft/Apple/Intel/AMD etc for their computers and operating systems. You can of course represent any number with a word larger than is required, it will just begin with a lot of zeroes... For instance, if you wanted to represent the number 4 with a 64 bit word, it is just going to start with 61 zeroes which is kind of redundant...


 
Posted : 09/12/2011 2:18 am
Page 2 / 2