Memory units computer word


Memory unit is the amount of data that can be stored in the storage unit. This storage capacity is expressed in terms of Bytes.

The following table explains the main memory storage units −

S.No. Unit & Description
1

Bit (Binary Digit)

A binary digit is logical 0 and 1 representing a passive or an active state of a component in an electric circuit.

2

Nibble

A group of 4 bits is called nibble.

3

Byte

A group of 8 bits is called byte. A byte is the smallest unit, which can represent a data item or a character.

4

Word

A computer word, like a byte, is a group of fixed number of bits processed as a unit, which varies from computer to computer but is fixed for each computer.

The length of a computer word is called word-size or word length. It may be as small as 8 bits or may be as long as 96 bits. A computer stores the information in the form of computer words.

The following table lists some higher storage units −

S.No. Unit & Description
1

Kilobyte (KB)

1 KB = 1024 Bytes

2

Megabyte (MB)

1 MB = 1024 KB

3

GigaByte (GB)

1 GB = 1024 MB

4

TeraByte (TB)

1 TB = 1024 GB

5

PetaByte (PB)

1 PB = 1024 TB

From Wikipedia, the free encyclopedia

In computing, a word is the natural unit of data used by a particular processor design. A word is a fixed-sized datum handled as a unit by the instruction set or the hardware of the processor. The number of bits or digits[a] in a word (the word size, word width, or word length) is an important characteristic of any specific processor design or computer architecture.

The size of a word is reflected in many aspects of a computer’s structure and operation; the majority of the registers in a processor are usually word-sized and the largest datum that can be transferred to and from the working memory in a single operation is a word in many (not all) architectures. The largest possible address size, used to designate a location in memory, is typically a hardware word (here, «hardware word» means the full-sized natural word of the processor, as opposed to any other definition used).

Documentation for older computers with fixed word size commonly states memory sizes in words rather than bytes or characters. The documentation sometimes uses metric prefixes correctly, sometimes with rounding, e.g., 65 kilowords (KW) meaning for 65536 words, and sometimes uses them incorrectly, with kilowords (KW) meaning 1024 words (210) and megawords (MW) meaning 1,048,576 words (220). With standardization on 8-bit bytes and byte addressability, stating memory sizes in bytes, kilobytes, and megabytes with powers of 1024 rather than 1000 has become the norm, although there is some use of the IEC binary prefixes.

Several of the earliest computers (and a few modern as well) use binary-coded decimal rather than plain binary, typically having a word size of 10 or 12 decimal digits, and some early decimal computers have no fixed word length at all. Early binary systems tended to use word lengths that were some multiple of 6-bits, with the 36-bit word being especially common on mainframe computers. The introduction of ASCII led to the move to systems with word lengths that were a multiple of 8-bits, with 16-bit machines being popular in the 1970s before the move to modern processors with 32 or 64 bits.[1] Special-purpose designs like digital signal processors, may have any word length from 4 to 80 bits.[1]

The size of a word can sometimes differ from the expected due to backward compatibility with earlier computers. If multiple compatible variations or a family of processors share a common architecture and instruction set but differ in their word sizes, their documentation and software may become notationally complex to accommodate the difference (see Size families below).

Uses of words[edit]

Depending on how a computer is organized, word-size units may be used for:

Fixed-point numbers
Holders for fixed point, usually integer, numerical values may be available in one or in several different sizes, but one of the sizes available will almost always be the word. The other sizes, if any, are likely to be multiples or fractions of the word size. The smaller sizes are normally used only for efficient use of memory; when loaded into the processor, their values usually go into a larger, word sized holder.
Floating-point numbers
Holders for floating-point numerical values are typically either a word or a multiple of a word.
Addresses
Holders for memory addresses must be of a size capable of expressing the needed range of values but not be excessively large, so often the size used is the word though it can also be a multiple or fraction of the word size.
Registers
Processor registers are designed with a size appropriate for the type of data they hold, e.g. integers, floating-point numbers, or addresses. Many computer architectures use general-purpose registers that are capable of storing data in multiple representations.
Memory–processor transfer
When the processor reads from the memory subsystem into a register or writes a register’s value to memory, the amount of data transferred is often a word. Historically, this amount of bits which could be transferred in one cycle was also called a catena in some environments (such as the Bull GAMMA 60 [fr]).[2][3] In simple memory subsystems, the word is transferred over the memory data bus, which typically has a width of a word or half-word. In memory subsystems that use caches, the word-sized transfer is the one between the processor and the first level of cache; at lower levels of the memory hierarchy larger transfers (which are a multiple of the word size) are normally used.
Unit of address resolution
In a given architecture, successive address values designate successive units of memory; this unit is the unit of address resolution. In most computers, the unit is either a character (e.g. a byte) or a word. (A few computers have used bit resolution.) If the unit is a word, then a larger amount of memory can be accessed using an address of a given size at the cost of added complexity to access individual characters. On the other hand, if the unit is a byte, then individual characters can be addressed (i.e. selected during the memory operation).
Instructions
Machine instructions are normally the size of the architecture’s word, such as in RISC architectures, or a multiple of the «char» size that is a fraction of it. This is a natural choice since instructions and data usually share the same memory subsystem. In Harvard architectures the word sizes of instructions and data need not be related, as instructions and data are stored in different memories; for example, the processor in the 1ESS electronic telephone switch has 37-bit instructions and 23-bit data words.

Word size choice[edit]

When a computer architecture is designed, the choice of a word size is of substantial importance. There are design considerations which encourage particular bit-group sizes for particular uses (e.g. for addresses), and these considerations point to different sizes for different uses. However, considerations of economy in design strongly push for one size, or a very few sizes related by multiples or fractions (submultiples) to a primary size. That preferred size becomes the word size of the architecture.

Character size was in the past (pre-variable-sized character encoding) one of the influences on unit of address resolution and the choice of word size. Before the mid-1960s, characters were most often stored in six bits; this allowed no more than 64 characters, so the alphabet was limited to upper case. Since it is efficient in time and space to have the word size be a multiple of the character size, word sizes in this period were usually multiples of 6 bits (in binary machines). A common choice then was the 36-bit word, which is also a good size for the numeric properties of a floating point format.

After the introduction of the IBM System/360 design, which uses eight-bit characters and supports lower-case letters, the standard size of a character (or more accurately, a byte) becomes eight bits. Word sizes thereafter are naturally multiples of eight bits, with 16, 32, and 64 bits being commonly used.

Variable-word architectures[edit]

Early machine designs included some that used what is often termed a variable word length. In this type of organization, an operand has no fixed length. Depending on the machine and the instruction, the length might be denoted by a count field, by a delimiting character, or by an additional bit called, e.g., flag, or word mark. Such machines often use binary-coded decimal in 4-bit digits, or in 6-bit characters, for numbers. This class of machines includes the IBM 702, IBM 705, IBM 7080, IBM 7010, UNIVAC 1050, IBM 1401, IBM 1620, and RCA 301.

Most of these machines work on one unit of memory at a time and since each instruction or datum is several units long, each instruction takes several cycles just to access memory. These machines are often quite slow because of this. For example, instruction fetches on an IBM 1620 Model I take 8 cycles (160 μs) just to read the 12 digits of the instruction (the Model II reduced this to 6 cycles, or 4 cycles if the instruction did not need both address fields). Instruction execution takes a variable number of cycles, depending on the size of the operands.

Word, bit and byte addressing[edit]

The memory model of an architecture is strongly influenced by the word size. In particular, the resolution of a memory address, that is, the smallest unit that can be designated by an address, has often been chosen to be the word. In this approach, the word-addressable machine approach, address values which differ by one designate adjacent memory words. This is natural in machines which deal almost always in word (or multiple-word) units, and has the advantage of allowing instructions to use minimally sized fields to contain addresses, which can permit a smaller instruction size or a larger variety of instructions.

When byte processing is to be a significant part of the workload, it is usually more advantageous to use the byte, rather than the word, as the unit of address resolution. Address values which differ by one designate adjacent bytes in memory. This allows an arbitrary character within a character string to be addressed straightforwardly. A word can still be addressed, but the address to be used requires a few more bits than the word-resolution alternative. The word size needs to be an integer multiple of the character size in this organization. This addressing approach was used in the IBM 360, and has been the most common approach in machines designed since then.

When the workload involves processing fields of different sizes, it can be advantageous to address to the bit. Machines with bit addressing may have some instructions that use a programmer-defined byte size and other instructions that operate on fixed data sizes. As an example, on the IBM 7030[4] («Stretch»), a floating point instruction can only address words while an integer arithmetic instruction can specify a field length of 1-64 bits, a byte size of 1-8 bits and an accumulator offset of 0-127 bits.

In a byte-addressable machine with storage-to-storage (SS) instructions, there are typically move instructions to copy one or multiple bytes from one arbitrary location to another. In a byte-oriented (byte-addressable) machine without SS instructions, moving a single byte from one arbitrary location to another is typically:

  1. LOAD the source byte
  2. STORE the result back in the target byte

Individual bytes can be accessed on a word-oriented machine in one of two ways. Bytes can be manipulated by a combination of shift and mask operations in registers. Moving a single byte from one arbitrary location to another may require the equivalent of the following:

  1. LOAD the word containing the source byte
  2. SHIFT the source word to align the desired byte to the correct position in the target word
  3. AND the source word with a mask to zero out all but the desired bits
  4. LOAD the word containing the target byte
  5. AND the target word with a mask to zero out the target byte
  6. OR the registers containing the source and target words to insert the source byte
  7. STORE the result back in the target location

Alternatively many word-oriented machines implement byte operations with instructions using special byte pointers in registers or memory. For example, the PDP-10 byte pointer contained the size of the byte in bits (allowing different-sized bytes to be accessed), the bit position of the byte within the word, and the word address of the data. Instructions could automatically adjust the pointer to the next byte on, for example, load and deposit (store) operations.

Powers of two[edit]

Different amounts of memory are used to store data values with different degrees of precision. The commonly used sizes are usually a power of two multiple of the unit of address resolution (byte or word). Converting the index of an item in an array into the memory address offset of the item then requires only a shift operation rather than a multiplication. In some cases this relationship can also avoid the use of division operations. As a result, most modern computer designs have word sizes (and other operand sizes) that are a power of two times the size of a byte.

Size families[edit]

As computer designs have grown more complex, the central importance of a single word size to an architecture has decreased. Although more capable hardware can use a wider variety of sizes of data, market forces exert pressure to maintain backward compatibility while extending processor capability. As a result, what might have been the central word size in a fresh design has to coexist as an alternative size to the original word size in a backward compatible design. The original word size remains available in future designs, forming the basis of a size family.

In the mid-1970s, DEC designed the VAX to be a 32-bit successor of the 16-bit PDP-11. They used word for a 16-bit quantity, while longword referred to a 32-bit quantity; this terminology is the same as the terminology used for the PDP-11. This was in contrast to earlier machines, where the natural unit of addressing memory would be called a word, while a quantity that is one half a word would be called a halfword. In fitting with this scheme, a VAX quadword is 64 bits. They continued this 16-bit word/32-bit longword/64-bit quadword terminology with the 64-bit Alpha.

Another example is the x86 family, of which processors of three different word lengths (16-bit, later 32- and 64-bit) have been released, while word continues to designate a 16-bit quantity. As software is routinely ported from one word-length to the next, some APIs and documentation define or refer to an older (and thus shorter) word-length than the full word length on the CPU that software may be compiled for. Also, similar to how bytes are used for small numbers in many programs, a shorter word (16 or 32 bits) may be used in contexts where the range of a wider word is not needed (especially where this can save considerable stack space or cache memory space). For example, Microsoft’s Windows API maintains the programming language definition of WORD as 16 bits, despite the fact that the API may be used on a 32- or 64-bit x86 processor, where the standard word size would be 32 or 64 bits, respectively. Data structures containing such different sized words refer to them as:

  • WORD (16 bits/2 bytes)
  • DWORD (32 bits/4 bytes)
  • QWORD (64 bits/8 bytes)

A similar phenomenon has developed in Intel’s x86 assembly language – because of the support for various sizes (and backward compatibility) in the instruction set, some instruction mnemonics carry «d» or «q» identifiers denoting «double-«, «quad-» or «double-quad-«, which are in terms of the architecture’s original 16-bit word size.

An example with a different word size is the IBM System/360 family. In the System/360 architecture, System/370 architecture and System/390 architecture, there are 8-bit bytes, 16-bit halfwords, 32-bit words and 64-bit doublewords. The z/Architecture, which is the 64-bit member of that architecture family, continues to refer to 16-bit halfwords, 32-bit words, and 64-bit doublewords, and additionally features 128-bit quadwords.

In general, new processors must use the same data word lengths and virtual address widths as an older processor to have binary compatibility with that older processor.

Often carefully written source code – written with source-code compatibility and software portability in mind – can be recompiled to run on a variety of processors, even ones with different data word lengths or different address widths or both.

Table of word sizes[edit]

key: bit: bits, c: characters, d: decimal digits, w: word size of architecture, n: variable size, wm: Word mark
Year Computer
architecture
Word size w Integer
sizes
Floating­point
sizes
Instruction
sizes
Unit of address
resolution
Char size
1837 Babbage
Analytical engine
50 d w Five different cards were used for different functions, exact size of cards not known. w
1941 Zuse Z3 22 bit w 8 bit w
1942 ABC 50 bit w
1944 Harvard Mark I 23 d w 24 bit
1946
(1948)
{1953}
ENIAC
(w/Panel #16[5])
{w/Panel #26[6]}
10 d w, 2w
(w)
{w}

(2 d, 4 d, 6 d, 8 d)
{2 d, 4 d, 6 d, 8 d}


{w}
1948 Manchester Baby 32 bit w w w
1951 UNIVAC I 12 d w 12w w 1 d
1952 IAS machine 40 bit w 12w w 5 bit
1952 Fast Universal Digital Computer M-2 34 bit w? w 34 bit = 4-bit opcode plus 3×10 bit address 10 bit
1952 IBM 701 36 bit 12w, w 12w 12w, w 6 bit
1952 UNIVAC 60 n d 1 d, … 10 d 2 d, 3 d
1952 ARRA I 30 bit w w w 5 bit
1953 IBM 702 n c 0 c, … 511 c 5 c c 6 bit
1953 UNIVAC 120 n d 1 d, … 10 d 2 d, 3 d
1953 ARRA II 30 bit w 2w 12w w 5 bit
1954
(1955)
IBM 650
(w/IBM 653)
10 d w
(w)
w w 2 d
1954 IBM 704 36 bit w w w w 6 bit
1954 IBM 705 n c 0 c, … 255 c 5 c c 6 bit
1954 IBM NORC 16 d w w, 2w w w
1956 IBM 305 n d 1 d, … 100 d 10 d d 1 d
1956 ARMAC 34 bit w w 12w w 5 bit, 6 bit
1956 LGP-30 31 bit w 16 bit w 6 bit
1957 Autonetics Recomp I 40 bit w, 79 bit, 8 d, 15 d 12w 12w, w 5 bit
1958 UNIVAC II 12 d w 12w w 1 d
1958 SAGE 32 bit 12w w w 6 bit
1958 Autonetics Recomp II 40 bit w, 79 bit, 8 d, 15 d 2w 12w 12w, w 5 bit
1958 Setun 6 trit (~9.5 bits)[b] up to 6 tryte up to 3 trytes 4 trit?
1958 Electrologica X1 27 bit w 2w w w 5 bit, 6 bit
1959 IBM 1401 n c 1 c, … 1 c, 2 c, 4 c, 5 c, 7 c, 8 c c 6 bit + wm
1959
(TBD)
IBM 1620 n d 2 d, …
(4 d, … 102 d)
12 d d 2 d
1960 LARC 12 d w, 2w w, 2w w w 2 d
1960 CDC 1604 48 bit w w 12w w 6 bit
1960 IBM 1410 n c 1 c, … 1 c, 2 c, 6 c, 7 c, 11 c, 12 c c 6 bit + wm
1960 IBM 7070 10 d[c] w, 1-9 d w w w, d 2 d
1960 PDP-1 18 bit w w w 6 bit
1960 Elliott 803 39 bit
1961 IBM 7030
(Stretch)
64 bit 1 bit, … 64 bit,
1 d, … 16 d
w 12w, w bit (integer),
12w (branch),
w (float)
1 bit, … 8 bit
1961 IBM 7080 n c 0 c, … 255 c 5 c c 6 bit
1962 GE-6xx 36 bit w, 2 w w, 2 w, 80 bit w w 6 bit, 9 bit
1962 UNIVAC III 25 bit w, 2w, 3w, 4w, 6 d, 12 d w w 6 bit
1962 Autonetics D-17B
Minuteman I Guidance Computer
27 bit 11 bit, 24 bit 24 bit w
1962 UNIVAC 1107 36 bit 16w, 13w, 12w, w w w w 6 bit
1962 IBM 7010 n c 1 c, … 1 c, 2 c, 6 c, 7 c, 11 c, 12 c c 6 b + wm
1962 IBM 7094 36 bit w w, 2w w w 6 bit
1962 SDS 9 Series 24 bit w 2w w w
1963
(1966)
Apollo Guidance Computer 15 bit w w, 2w w
1963 Saturn Launch Vehicle Digital Computer 26 bit w 13 bit w
1964/1966 PDP-6/PDP-10 36 bit w w, 2 w w w 6 bit
7 bit (typical)
9 bit
1964 Titan 48 bit w w w w w
1964 CDC 6600 60 bit w w 14w, 12w w 6 bit
1964 Autonetics D-37C
Minuteman II Guidance Computer
27 bit 11 bit, 24 bit 24 bit w 4 bit, 5 bit
1965 Gemini Guidance Computer 39 bit 26 bit 13 bit 13 bit, 26 —bit
1965 IBM 1130 16 bit w, 2w 2w, 3w w, 2w w 8 bit
1965 IBM System/360 32 bit 12w, w,
1 d, … 16 d
w, 2w 12w, w, 112w 8 bit 8 bit
1965 UNIVAC 1108 36 bit 16w, 14w, 13w, 12w, w, 2w w, 2w w w 6 bit, 9 bit
1965 PDP-8 12 bit w w w 8 bit
1965 Electrologica X8 27 bit w 2w w w 6 bit, 7 bit
1966 SDS Sigma 7 32 bit 12w, w w, 2w w 8 bit 8 bit
1969 Four-Phase Systems AL1 8 bit w ? ? ?
1970 MP944 20 bit w ? ? ?
1970 PDP-11 16 bit w 2w, 4w w, 2w, 3w 8 bit 8 bit
1971 CDC STAR-100 64 bit 12w, w 12w, w 12w, w bit 8 bit
1971 TMS1802NC 4 bit w ? ?
1971 Intel 4004 4 bit w, d 2w, 4w w
1972 Intel 8008 8 bit w, 2 d w, 2w, 3w w 8 bit
1972 Calcomp 900 9 bit w w, 2w w 8 bit
1974 Intel 8080 8 bit w, 2w, 2 d w, 2w, 3w w 8 bit
1975 ILLIAC IV 64 bit w w, 12w w w
1975 Motorola 6800 8 bit w, 2 d w, 2w, 3w w 8 bit
1975 MOS Tech. 6501
MOS Tech. 6502
8 bit w, 2 d w, 2w, 3w w 8 bit
1976 Cray-1 64 bit 24 bit, w w 14w, 12w w 8 bit
1976 Zilog Z80 8 bit w, 2w, 2 d w, 2w, 3w, 4w, 5w w 8 bit
1978
(1980)
16-bit x86 (Intel 8086)
(w/floating point: Intel 8087)
16 bit 12w, w, 2 d
(2w, 4w, 5w, 17 d)
12w, w, … 7w 8 bit 8 bit
1978 VAX 32 bit 14w, 12w, w, 1 d, … 31 d, 1 bit, … 32 bit w, 2w 14w, … 1414w 8 bit 8 bit
1979
(1984)
Motorola 68000 series
(w/floating point)
32 bit 14w, 12w, w, 2 d
(w, 2w, 212w)
12w, w, … 712w 8 bit 8 bit
1985 IA-32 (Intel 80386) (w/floating point) 32 bit 14w, 12w, w
(w, 2w, 80 bit)
8 bit, … 120 bit
14w … 334w
8 bit 8 bit
1985 ARMv1 32 bit 14w, w w 8 bit 8 bit
1985 MIPS I 32 bit 14w, 12w, w w, 2w w 8 bit 8 bit
1991 Cray C90 64 bit 32 bit, w w 14w, 12w, 48 bit w 8 bit
1992 Alpha 64 bit 8 bit, 14w, 12w, w 12w, w 12w 8 bit 8 bit
1992 PowerPC 32 bit 14w, 12w, w w, 2w w 8 bit 8 bit
1996 ARMv4
(w/Thumb)
32 bit 14w, 12w, w w
(12w, w)
8 bit 8 bit
2000 IBM z/Architecture
(w/vector facility)
64 bit 14w, 12w, w
1 d, … 31 d
12w, w, 2w 14w, 12w, 34w 8 bit 8 bit, UTF-16, UTF-32
2001 IA-64 64 bit 8 bit, 14w, 12w, w 12w, w 41 bit (in 128-bit bundles)[7] 8 bit 8 bit
2001 ARMv6
(w/VFP)
32 bit 8 bit, 12w, w
(w, 2w)
12w, w 8 bit 8 bit
2003 x86-64 64 bit 8 bit, 14w, 12w, w 12w, w, 80 bit 8 bit, … 120 bit 8 bit 8 bit
2013 ARMv8-A and ARMv9-A 64 bit 8 bit, 14w, 12w, w 12w, w 12w 8 bit 8 bit
Year Computer
architecture
Word size w Integer
sizes
Floating­point
sizes
Instruction
sizes
Unit of address
resolution
Char size
key: bit: bits, d: decimal digits, w: word size of architecture, n: variable size

[8][9]

See also[edit]

  • Integer (computer science)

Notes[edit]

  1. ^ Many early computers were decimal, and a few were ternary
  2. ^ The bit equivalent is computed by taking the amount of information entropy provided by the trit, which is log _{2}(3). This gives an equivalent of about 9.51 bits for 6 trits.
  3. ^ Three-state sign

References[edit]

  1. ^ a b Beebe, Nelson H. F. (2017-08-22). «Chapter I. Integer arithmetic». The Mathematical-Function Computation Handbook — Programming Using the MathCW Portable Software Library (1 ed.). Salt Lake City, UT, USA: Springer International Publishing AG. p. 970. doi:10.1007/978-3-319-64110-2. ISBN 978-3-319-64109-6. LCCN 2017947446. S2CID 30244721.
  2. ^ Dreyfus, Phillippe (1958-05-08) [1958-05-06]. Written at Los Angeles, California, USA. System design of the Gamma 60 (PDF). Western Joint Computer Conference: Contrasts in Computers. ACM, New York, NY, USA. pp. 130–133. IRE-ACM-AIEE ’58 (Western). Archived (PDF) from the original on 2017-04-03. Retrieved 2017-04-03. […] Internal data code is used: Quantitative (numerical) data are coded in a 4-bit decimal code; qualitative (alpha-numerical) data are coded in a 6-bit alphanumerical code. The internal instruction code means that the instructions are coded in straight binary code.
    As to the internal information length, the information quantum is called a «catena,» and it is composed of 24 bits representing either 6 decimal digits, or 4 alphanumerical characters. This quantum must contain a multiple of 4 and 6 bits to represent a whole number of decimal or alphanumeric characters. Twenty-four bits was found to be a good compromise between the minimum 12 bits, which would lead to a too-low transfer flow from a parallel readout core memory, and 36 bits or more, which was judged as too large an information quantum. The catena is to be considered as the equivalent of a character in variable word length machines, but it cannot be called so, as it may contain several characters. It is transferred in series to and from the main memory.
    Not wanting to call a «quantum» a word, or a set of characters a letter, (a word is a word, and a quantum is something else), a new word was made, and it was called a «catena.» It is an English word and exists in Webster’s although it does not in French. Webster’s definition of the word catena is, «a connected series;» therefore, a 24-bit information item. The word catena will be used hereafter.
    The internal code, therefore, has been defined. Now what are the external data codes? These depend primarily upon the information handling device involved. The Gamma 60 [fr] is designed to handle information relevant to any binary coded structure. Thus an 80-column punched card is considered as a 960-bit information item; 12 rows multiplied by 80 columns equals 960 possible punches; is stored as an exact image in 960 magnetic cores of the main memory with 2 card columns occupying one catena. […]
  3. ^ Blaauw, Gerrit Anne; Brooks, Jr., Frederick Phillips; Buchholz, Werner (1962). «4: Natural Data Units» (PDF). In Buchholz, Werner (ed.). Planning a Computer System – Project Stretch. McGraw-Hill Book Company, Inc. / The Maple Press Company, York, PA. pp. 39–40. LCCN 61-10466. Archived (PDF) from the original on 2017-04-03. Retrieved 2017-04-03. […] Terms used here to describe the structure imposed by the machine design, in addition to bit, are listed below.
    Byte denotes a group of bits used to encode a character, or the number of bits transmitted in parallel to and from input-output units. A term other than character is used here because a given character may be represented in different applications by more than one code, and different codes may use different numbers of bits (i.e., different byte sizes). In input-output transmission the grouping of bits may be completely arbitrary and have no relation to actual characters. (The term is coined from bite, but respelled to avoid accidental mutation to bit.)
    A word consists of the number of data bits transmitted in parallel from or to memory in one memory cycle. Word size is thus defined as a structural property of the memory. (The term catena was coined for this purpose by the designers of the Bull GAMMA 60 [fr] computer.)
    Block refers to the number of words transmitted to or from an input-output unit in response to a single input-output instruction. Block size is a structural property of an input-output unit; it may have been fixed by the design or left to be varied by the program. […]
  4. ^ «Format» (PDF). Reference Manual 7030 Data Processing System (PDF). IBM. August 1961. pp. 50–57. Retrieved 2021-12-15.
  5. ^ Clippinger, Richard F. [in German] (1948-09-29). «A Logical Coding System Applied to the ENIAC (Electronic Numerical Integrator and Computer)». Aberdeen Proving Ground, Maryland, US: Ballistic Research Laboratories. Report No. 673; Project No. TB3-0007 of the Research and Development Division, Ordnance Department. Retrieved 2017-04-05.{{cite web}}: CS1 maint: url-status (link)
  6. ^ Clippinger, Richard F. [in German] (1948-09-29). «A Logical Coding System Applied to the ENIAC». Aberdeen Proving Ground, Maryland, US: Ballistic Research Laboratories. Section VIII: Modified ENIAC. Retrieved 2017-04-05.{{cite web}}: CS1 maint: url-status (link)
  7. ^ «4. Instruction Formats» (PDF). Intel Itanium Architecture Software Developer’s Manual. Vol. 3: Intel Itanium Instruction Set Reference. p. 3:293. Retrieved 2022-04-25. Three instructions are grouped together into 128-bit sized and aligned containers called bundles. Each bundle contains three 41-bit instruction slots and a 5-bit template field.
  8. ^ Blaauw, Gerrit Anne; Brooks, Jr., Frederick Phillips (1997). Computer Architecture: Concepts and Evolution (1 ed.). Addison-Wesley. ISBN 0-201-10557-8. (1213 pages) (NB. This is a single-volume edition. This work was also available in a two-volume version.)
  9. ^ Ralston, Anthony; Reilly, Edwin D. (1993). Encyclopedia of Computer Science (3rd ed.). Van Nostrand Reinhold. ISBN 0-442-27679-6.

Computer memory units such as bytes, megabytes, gigabytes, etc. are used for data storage in the digital world. So we need to know exactly what each of these phrases means. This is especially important when comparing storage of hardware, tablets, and flash drives, as well as when shopping online and want to compare data rates.

Memory units are like any quantity or scales used to measure the data storage capacity of various devices in the digital world.  These memory units are very important as they are used to measure and display data. Some common memory units are:

memory units in computer

  • Bit (Bit) 
  • Byte (Byte) 
  • Word (Word) 
  • Character 
  • KB (Kilobyte) 
  • MB (Megabyte) 
  • GB (Gigabyte) 
  • TB  (Terabytes)
  • PB (Petabyte)
  • EB (Exabyte)

Types of Memory Units

Bit (Bit)

The minimum unit of memory that can be measured is a binary bit (Bit). A bit is a memory in which only two values of zero (0) or one (1) can be stored.

Byte (Byte)

To the smallest addressable memory is said byte. Each byte is equivalent to 8 bits and can store one character of text. The capital letter B is used to indicate the byte.

Word (Word)

Each word (Word) is the largest unit that the microprocessor can process in each operation. Different types of Personal computers are usually 32-bit and 64-bit. On 32-bit computers, the word length is 32 bits, and on 64-bit computers, the word length is 64 bits.

Character (Character)

Each letter, number, and symbol that can be displayed on a computer is called a character. Each character engages one byte of memory. The number of characters in a computer is usually 256 characters.

KB (Kilobyte)

Each kilobyte (KB) is equal to 1024 bytes. This unit of measurement is generally used to determine the size of documents, images, and computer files. For example, we say that the size of this document is 210 KB

1 KB = 1024 Byte

MB (Megabyte)

Each megabyte is equal to 1024 kilobytes. This unit is usually used to determine the size of large files like HD quality images, videos, and documents. For example, we say the file size of this video song is 25 MB. One megabyte of storage has the capacity to store hundreds of pages of text or multiple images.

1 MB =  1024

GB (Gigabyte)

Each 1024 MB is equal to a gigabyte. It is abbreviated as GB or G. The storage capacity of high-volume storage devices such as hard disks and flash drives is measured in GBs. For example, we say that the size of this hard drive is 500 GB. One gigabyte is large memory and can store a two-hour movie or tens of hours of music.

1 GB = 1024 MB

TB  (Terabytes)

A set of 1024 GB is called terabytes and is denoted by the symbol T or TB. One terabyte of memory is very large and used to hold the information in a data center (Data Center) where a large number of data storage devices can be displayed with this memory unit. For example, they say that the total information in this data center is 165 TB.

1 TB = 1024 GB

PB (Petabyte)

1024 terabytes are equal to a petabyte. It is denoted by the abbreviation P or PB. 1 TB equals 1024 terabytes (or about 1 million gigabytes). If the trend of evolution in technology continues as it is today, petabytes will definitely replace the terabytes in the future when the standard amount of data stored in products will be measured.

For example, if we want to compare with the real world: 1 petabyte = 500 billion pages of standard typed text (or 745 million floppy disks)

1 PB = 1024 TB

EB (Exabyte)

Each exabyte is equal to 1024 petabytes. Technology giants like Amazon, Google, and Facebook are typically now the only ones concerned about this type of storage space. At the consumer level, some (but not all) file systems used by today’s operating systems have theoretical limitations for Exabyte.

For example, if we want to compare with the real world: 1 Exabyte = 11 million 4K videos. The Information on the World Wide Web can be measured in Exabytes.

units of memory measurement in computer

What is the Future of Computer Memory Units?

This list can definitely go on. The next 3 storage capacities are in the list of zettabytes, utabytes, and Sutabytes. But honestly, post-Exabyte capacities are for very large volumes of data storage that are not currently widely used in the real world.

Final Words

We hope you enjoyed this article and get the right information. In this section, we learned about memory units that include bits, bytes, kilobytes, megabytes, gigabytes, terabytes, etc. If you still have any queries, write us in the comment section. We like to respond to the queries of our visitors.

  • Home
  • Computer Fundamentals
  • Memory Units of Computer
  • Due to heavy usage and demand for computer systems, computer memory has also
    grown rapidly over time. Each generation of memory has brought a faster and
    higher capacity memory version of the computer. This has ultimately brought a
    new level of memory units and new terms for defining memory size.

    Memory Units of Computer

    Therefore, it is necessary to know about all the memory units of the computer.
    Let us first understand what memory units are:

    What is a Memory Unit?

    According to the definition, «A memory unit refers to the amount of memory/storage that is used to
    measure or represent data.
    » 

    Basic Memory Units in Computer

    The following are the basic memory units in a computer system:

    Bit (Binary Digit)

    A computer system uses electrical components (e.g., integrated circuits and
    semiconductors) to handle data or information stored in it. Such components
    can only understand and recognize the presence or absence of electrical
    signals. That is why a computer uses two different states, such as 0 (zero)
    and 1 (one). 

    The two symbols, 0 and 1, are known as bits or binary digits. While 0 indicates the absence (passive
    state) of the signal, 1 indicates the presence (active state) of the signal.
    However, a bit at a time can only store one of these two binary values, i.e.,
    either 0 or 1. Therefore, multiple bits in a combined form are capable of
    holding a greater range of values.

    Nibble

    A nibble is a collection of 4 bits.

    Byte

    A byte is a collection of eight bits sequenced together to create a single
    computer alphabetical or numerical character. One byte, or eight bits, was the
    original amount of information needed to encode the characters of the text.
    The number was later standardized after upgrades in computer hardware.

    A byte is referred to as the fundamental unit of measurement for the data on a
    computer system. It is because bytes can be more often represented in larger
    multiples, such as Kilobytes, Megabytes, Gigabytes, Terabytes, and Petabytes.
    Bytes are stored digitally (such as disk, tape, etc.) to define the amount of
    data on storage. Additionally, bytes also help in measuring memory and
    document size.

    Word

    Like a byte, a computer word is also a combination of a fixed number of bits.
    It is another basic memory unit of a computer system. The number of bits in a
    word may vary for each computer system; however, it remains fixed for a
    particular computer.

    Computer word length is commonly represented as word-size or word length.
    Because it varies from one system to another; therefore, it can be as short as
    8 bits or as long as 96 bits. A computer system usually stores data or
    information in the form of computer words.

    Note: Bits and bytes are known as basic building blocks of memory,
    where the bit is the smallest memory unit of a computer that is used to
    express data size. Additionally, a byte is the smallest unit that is used to
    represent data items or characters into higher memory units.

    Computer Memory Units Chart

    The following table displays a list of all commonly used forms of computer
    memory units in ascending order:

    Memory Unit Description
    Kilobyte (KB) A kilobyte (1 KB) consists of 1024 bytes.
    Megabyte (MB) A megabyte (1 MB) consists of 1024 kilobytes.
    Gigabyte (GB) A gigabyte (1 GB) consists of 1024 megabytes.
    Terabyte (TB) A terabyte (1 TB) consists of 1024 gigabytes.
    Petabyte (PB) A petabyte (1 PB) consists of 1024 terabytes.

    For simplicity and some technical reasons, the capacity of computer memory is
    usually expressed in multiples of power of two. This method eventually helped
    to express a very large number of bits and bytes easily.

    Summary

    A memory unit is a method of expressing the capacity of memory or storage on a
    computer system. Although bits and bytes are basic forms of memory units,
    capacity is mainly expressed in terms (in multiples) of bytes.



    Memory Units

    Definition of Memory Units

    Memory units can be defined as a way to measure the quantity of data collected together under a single memory location, which is termed as the ‘storage unit’. These memory units are used to indicate the number or amount of data that are picked and used for individual computation processes performed in a computing device. A group of binary digits is used in every operation or command sent back and forth to the processor of the computer system. These binary digits, that is, 0’s and 1’s, take up different terms for probing the processes carried out inside the computer processor units.

    Top 12 Memory Units

    The memory units of the data in the storage systems are classified into the below different types,

    1. Bit

    The bit is a term shortly used instead of the word ‘Binary digit’, which is nothing but the 0’s and 1’s that are used for the indication of passive or active states of any component involved in an electric system. This is the least of the memory units that is used for representative the storage occupancy of the data in the memory space, that is, the data shown either in 0 or in 1.

    2. Nibble

    Nibble can be defined as the collection of four bits, which is characterized as a hexadecimal number to store the data in the memory. It takes up the same space as a hexadecimal number or a group of four bits of data. It is sometimes called as ‘Nybble’ or ‘Nyble’ or ‘hex digit’. There are also memory units called as ‘low nibble’ and ‘high nibble’ that are used to denote the contents of the nibble memory unit, where the low nibble shows the lesser momentous bit and the high nibble shows the highly momentous bit inside the memory unit.

    3. Byte

    A byte can be defined as the group of eight binary digits, which generally corresponds to the other compounds of 8 bits. This is the commonly used unit terminology, as it comes with the prefixes for the multiples of bytes, such as the prefixes as kilo-, mega-, giga-, tera-, peta-, etc.

    4. Word

    A word typically means indicates the memory unit occupied by a specific chunk of data, which comes as a fixed size and not alterable during the process execution. The word memory units are of different types and are termed as the fixed point numbers, floating numbers, addresses, registers etc., with respect to the number of data occupied in the memory unit shown as the word. When the word is called by the processor for performing any operation and completing the process, the size of the data remains the same throughout the process until completion.

    5. Kilobyte

    Kilobyte can be defined as one of the many multiples of the byte memory units. The prefix kilo- , normally, represents the unit to be ‘Kilo’ and it comes in multiples of ‘1000’. Though in terms of international standards kilo means 1000, in a typical memory unit, the binary digit are seen as Base 2 and so the ‘Kilo’ here means 1024 of binary digits or bits. In short, 1Kilobyte or 1KB is equal to the 1024 bits or binary digits.

    6. Megabyte

    Similar to the Kilobyte memory unit, the megabyte memory unit is used when the bits are large in number and when it makes it easy to say it the number to be in lesser length. That is, in international standards the prefix ‘mega-‘ is used for showing the 10^6 or the 1000000. This also means that a typical MB is shown with Base 2, and so the 1MB or the 1 Megabyte equals to the 1048576 bytes of the memory unit. It can also be calculated as (1024)^2bytes or the 2^20 bytes.

    7. Gigabyte

    The Gigabytes are used to represent the data to be in multiples of 10^9 or 1000000000 binary digits, and when the memory unit is in terms of Base 2 then the storage space is calculated as 2^30 bytes or as 1024^3 bytes. In other words, the memory units used by the processor that runs on the Base 2 are termed as the Gigabytes and is equal to the 1073741824 bytes.

    8. Terabyte

    Terabyte are applied when the memory requirement is as high as the 2^40, that is the binary digits exponential to the number 40. It can also be seen as an equal to the 1024 terabytes and is represented as TB. Or other words equals to 10^12 bytes in international standards and that can also be termed as the trillion bytes.

    9. Petabyte

    Petabyte can be defined as a memory unit that represents the higher multiples of bytes, next to the Terabyte that comes in PB units. It is equal to the 10^15 bytes in terms of the international standards, or the 1024^5 bytes when the bytes come with the Base 2.

    1o. Exabyte

    Exabyte is a memory unit that is equal to the 10^18 equivalent in the international standards scale, and the same is equal to the 1024^6 for the memory units that come in the form of Base 2. The unit terms of the Exabyte are EB, and this EB is the same as the 1 million TB or the 1 billion GB or the 1 thousand PB.

    11. Zettabyte

    Similar to other byte sized memory units, Zettabyte can be seen as an equivalent to 10^21, according to the ‘zetta’ representation in terms of the international standards. The Zettabyte or the ZB also can be seen as 1 thousand of the EB, 1 million PB, 1 billion TB, 1 trillion GB, etc.

    12. Yottabyte

    As the name says, the Yottabyte unit or the YB represents another memory unit for the bytes to be in multiples of the other lower byte units or even the bytes. In international standards, it is equal to the 10^24, and for base 2 byte units the YB is also equal to 1024^8, 1 thousand ZB, 1 trillion TB, etc.

    Conclusion

    The memory units are the terms used for data storage representations, which can be used for indicating the capacity of the respective systems and connected devices. The units start from a bit, byte to the multiples of bytes, where the prefixes correspond to the international systems of units that goes up until the extent to cover all the finite numbers.

    Recommended Articles

    This is a guide to Memory Units. Here we also discuss the introduction and top 12 memory units which include. bit, nibble, byte, and kilobyte, etc. you may also have a look at the following articles to learn more –

    1. Android Architecture 
    2. What is Register?
    3. What is Buffer Overflow?
    4. Software Maintenance Types

    Понравилась статья? Поделить с друзьями:
  • Memorizing a speech word for word
  • Memorize the words and word combinations given below translate them into russian make up examples
  • Memories the words and word combinations
  • Memo word premium скачать
  • Memo is short for what word