Byte


 
 

:For the computer industry magazine, see Byte magazine.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

A byte is commonly used as a unit of storage measurement in computers, regardless of the type of data being stored. It is also one of the basic integral data types in many programming languages.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

The word "byte" has several meanings, all closely related:

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

  • A contiguous sequence of a fixed number of bits. On modern computers, an eight-bit byte or octet is by far the most common. This was not always the case. Certain older models have used six-, seven-, or nine-bit bytes - for instance on the 36-bit architecture of the PDP-10. Another example of a non eight-bit sequence is the 12-bit slab of the NCR-315. A byte is always atomic on the system, meaning that it is the smallest addressable unit. An eight-bit byte can hold 256 possible values (28 = 256) -- enough to store an unsigned integer ranging from 0 to 255, a signed integer from -128 to 127, or a character of a seven-bit (such as ASCII) or eight-bit character encoding.
  • A contiguous sequence of bits that comprises a sub-field of a longer sequence known as a word. On some computers it is possible to address bytes of arbitrary length. This usage is reflected, for example, in LDB and DPB assembly instructions for field extraction on a PDP-10, which survive as bytewise operations in Common Lisp; and in the six-bit bytes of the IBM 1401.
  • A datatype or synonym for a datatype in certain programming languages. C, for example, defines byte as a storage unit capable of at least being large enough to hold any character of the execution environment (clause 3.5 of the C standard). Since the C char integral data type can hold at least 8 bits (clause 5.2.4.2.1), a byte in C is at least capable of holding 256 different values (signed or unsigned char doesn't matter). Java's primitive byte data type is always defined as consisting of 8 bits and being a signed data type, holding values from -128 to 127.

 

Storage: Storage is the at least semi-permanent holding of an amount of something. A storage device is an apparatus for holding things. Another general term, is container. Depending on context it may have a more specific meaning. A tank is a container for liquid, e.g. water or petroleum. In computers it ref...

Computer: A computer is a device or for processing information from data according to a program — a compiled list of instructions. The information to be processed may represent numbers, text, pictures, or sound, amongst many other types....

Integral data type: REDIRECT Integer_(computer_science)...

~ Table of Content ~

Introduction
Meanings
Coined
Alternate words
Abbreviation
Names for larger units
 
FR: Octet


 

~ Related Subjects ~

Liquid (1) - Tank (1) - Petroleum (1) - Water (1) - Container (1) - Computer (1) - Storage (1) - Programming language (1) - Integral data type (1) -
 

~ Community ~

History Forum
Come and discuss about History, Civilizations, Historical Events and Figures
History Web-Ring
A community of sites, blogs and forums dedicated to History. Do not hesitate to submit your site.