Binary the way micros count


Bits, bytes and other things



Download 115.46 Kb.
Page13/15
Date08.05.2021
Size115.46 Kb.
#56580
1   ...   7   8   9   10   11   12   13   14   15
Binary
21



Bits, bytes and other things

All the information entering or leaving a microprocessor is in the form of


a binary signal, a voltage switching between the two bit levels 0 and 1.

Bits are passed through the microprocessor at very high speed and in large numbers and we find it easier to group them together.


Nibble

A group of four bits handled as a single lump. It is half a byte.


Byte

A byte is simply a collection of 8 bits. Whether they are ones or zeros or what their purpose is does not matter.


Word

A number of bits can be collected together to form a ‘word’. Unlike a byte, a word does not have a fixed number of bits in it. The length of the word or the number of bits in the word depends on the microprocessor being used.

If the microprocessor accepts binary data in groups of 32 at a time then
the word in this context would include 32 bits. If a different
microprocessor used data in smaller handfuls, say 16 at a time, then
the word would have a value of 16 bits. The word is unusual in this
context in as much as its size or length will vary according to the
situations in which it is discussed. The most likely values are 8, 16, 32
and 64 bits but no value is excluded.
Long word

In some microprocessors where a word is taken to mean say 16 bits,


a long word would mean a group of twice the normal length, in this
case 32 bits.

Download 115.46 Kb.

Share with your friends:
1   ...   7   8   9   10   11   12   13   14   15




The database is protected by copyright ©ininet.org 2024
send message

    Main page