Jump to content

4-bit computing

From Wikipedia, the free encyclopedia

Template:Short description Template:Use dmy dates Template:Computer architecture bit widths

4-bit computing is the use of computer architectures in which integers and other data units are 4 bits wide. 4-bit central processing unit (CPU) and arithmetic logic unit (ALU) architectures are those that are based on registers or data buses of that size. A group of four bits is also called a nibble and has 24 = 16 possible values, with a range of 0 to 15.

4-bit computation is largely obsolete, i.e. CPUs supporting 4-bit as the maximum size, or 4-bit data bus are no longer available, but 4-bit microcontrollers, such as the EM Microelectronic EM6580, are still available Template:As of.[1]

4-bit processors were widely used in electronic calculators and other roles where decimal math was used, like electronic cash registers, microwave oven timers, and so forth. This is because a 4-bit value holds a single binary-coded decimal (BCD) digit, making it a natural size for directly processing decimal values. As a 4-bit value is generally too small to hold a memory address for real-world programs or data, the address bus of these systems was generally larger. For instance, the canonical 4-bit microprocessor, the Intel 4004, had a 12-bit address format.

4-bit designs were used only for a short period when integrated circuits were still expensive, and were found primarily in cost-sensitive roles. While 4-bit computing is mostly obsolete, 4-bit values are still used in the same decimal-centric roles they were developed for, and modern implementations are generally much wider and process multiple 4-bit values in parallel. By the 1990s, most such uses had been replaced by general purpose binary designs.

History

File:Alps remote control BHR970001B - NEC D63GS-7525.jpg
20-pin PSOP – NEC D63GS: a 4-bit microcontroller for infrared remote control transmission
File:Intel C4004 greytraces CPU.jpg
16-pin DIP – Intel C4004
File:Olympia CD700 Desktop Calculator. 1971.Microprogrammable Arithmetic Processor System Devices (MAPS).jpg
Olympia CD700 Desktop Calculator using the National Semiconductor MAPS MM570X bit-serial 4-bit microcontroller
File:Alps remote control BHR970001B-7517.jpg
Infrared remote control PCB – an infrared remote control transmitter controlled by a NEC D63GS 4-bit microcontroller

A 4-bit processor may seem limited, but it is a good match for calculators, where each decimal digit fits into four bits.[2]

Some of the first microprocessors had a 4-bit word length and were developed around 1970. The first commercial microprocessor was the Intel 4004,[3][4] developed for calculator applications in 1971. It had a 4-bit word length, but had 8-bit instructions and 12-bit addresses. It was succeeded by the Intel 4040, which added interrupt support and a variety of other new features.

The first commercial single-chip computer was the 4-bit Texas Instruments TMS 1000 (1974).[2] It contained a 4-bit CPU with a Harvard architecture and 8-bit-wide instructions, an on-chip instruction ROM, and an on-chip data RAM with 4-bit words.[5]

The Rockwell PPS-4 was another early 4-bit processor, introduced in 1972, which had a long lifetime in handheld games and similar roles. It was steadily improved and by 1975 been combined with several support chips to make a one-chip computer.[6]

Because of the extreme constraints on program size and hardware capabilities, 4-bit processors were primarily programmed directly in assembly language, with some specific processors being programmed in Forth[7].

The 1970s saw the emergence of 4-bit software applications for mass markets like pocket calculators. During the 1980s, 4-bit microprocessors were used in handheld electronic games to keep costs low.

In the 1970s and 1980s, a number of research and commercial computers used bit slicing, in which the CPU's arithmetic logic unit (ALU) was built from multiple 4-bit-wide sections, each section including a chip such as an Am2901 or 74181.

The Zilog Z80 (discontinued in 2024), although it is an 8-bit microprocessor, has a 4-bit ALU.[8][9]

Although the Data General Nova is a series of 16-bit minicomputers, the original Nova and the Nova 1200 internally processed numbers 4 bits at a time with a 4-bit ALU,[10] sometimes called "nybble-serial".[11]

The HP Saturn processors, used in many Hewlett-Packard calculators between 1984 and 2003 (including the HP 48 series of scientific calculators) are "4-bit" (or hybrid 64-/4-bit) machines. They string multiple 4-bit words together, e.g. to form a 20-bit memory address, and most of the registers are 64 bits wide, storing 16 4-bit digits. Operations were performed nybble-serial.[12][13][14]

In addition, some early calculatorsTemplate:Snd such as the 1967 Casio AL-1000, the 1972 Sinclair Executive, and the aforementioned 1984 HP SaturnTemplate:Snd had 4-bit datapaths that accessed their registers 4 bits (one BCD digit) at a time.[15]

Uses

File:National Semiconductor COP410L NGS top metal.jpg
National Semiconductor COP410L, a low-end 4-bit microcontroller. 512 bytes of ROM in upper left corner, 128 bits of RAM in upper right corner. Click to zoom.

One bicycle computer specifies that it uses a "4 bit, 1-chip microcomputer".[16] Other typical uses include coffee makers, infrared remote controls,[17] and security alarms.[18]

The processor in Barbie typewriters that can encrypt is a 4-bit microcontroller.[19]

Several manufacturers used 4-bit microcontrollers in their early electronic games:[20]

  • Mattel's Funtronics Jacks, Red Light Green Light, Tag, Plus One and Dalla$.
  • Milton Bradley Lightfight and Electronic Battleship 1982.
  • Coleco Head to Head Basketball.
  • National Semiconductor Quiz Kid Racer.
  • Entex Space Invader.
  • Texas Instruments My Little Computer.[21]

Western Digital used a 4-bit microcontroller as the basis for their WD2412 time-of-day clock.[22]

The Grundy Newbrain computer uses a 4-bit microcontroller to manage its keyboard, tape I/O, and its built-in 16 character VF alphanumeric display.[23]

The Apple Lisa utilizes a 4-bit microcontroller to control the keyboard, mouse, RTC, and soft power switch.[24]

Details

{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}}

With 4 bits, it is possible to create 16 different values. All single-digit hexadecimal numbers can be written with four bits.

Binary-coded decimal is a digital encoding method for numbers using decimal notation, with each decimal digit represented by four bits.

List of 4-bit processors

File:National Semiconductor MM5700CA D Microprocessor.jpg
National Semiconductor MM5700CA/D bit-serial 4-bit microcontroller

See also

References

  1. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  2. ↑ 2.0 2.1 {{#invoke:citation/CS1|citation |CitationClass=web }}
  3. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  4. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  5. ↑ Template:Cite book
  6. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  7. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  8. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  9. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  10. ↑ Template:Cite interview
  11. ↑ "Nova 1200"
  12. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  13. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  14. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  15. ↑ "Desk Electronic Calculators: Casio AL-1000"
  16. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  17. ↑ 17.0 17.1 {{#invoke:citation/CS1|citation |CitationClass=web }}
  18. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  19. ↑ Paul Reuvers and Marc Simons. Crypto Museum. "Barbie Typewriter", 2015
  20. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  21. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  22. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  23. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  24. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  25. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  26. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  27. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  28. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  29. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  30. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  31. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  32. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  33. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  34. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  35. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  36. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  37. ↑ 37.00 37.01 37.02 37.03 37.04 37.05 37.06 37.07 37.08 37.09 37.10 37.11 37.12 37.13 Template:Cite book

|CitationClass=web }}

Template:CPU technologies