Skip to content
Surf Wiki
Save to docs
general/data-unit

From Surf Wiki (app.surf) — the open knowledge base

4-bit computing

Computer architecture bit width

4-bit computing

Summary

Computer architecture bit width

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; 4-bit microcontrollers can though still be bought .{{Cite web |title=Ultra Low Power 8-pin Flash Microcontroller |url=https://www.emmicroelectronic.com/sites/default/files/products/datasheets/em6580_ds.pdf |quote=

  • -- RAM 80 × 4 bits
  • Internal RC oscillator 32kHz – 800kHz
  • 2 clocks per instruction cycle
  • 72 basic instructions
  • External CPU clock

..

The EM6580 has one 80x4 bit static RAM built-in located on addresses hex 0 to 4F. All the RAM nibbles are direct addressable.

The EM6580 contains the equivalent of 8kB of Flash memory and a RC oscillator with frequencies between 32 to 800kHz.

History

20-pin PSOP – NEC D63GS: a 4-bit microcontroller for [[infrared remote control]] transmission
16-pin DIP – Intel C4004
Olympia CD700 Desktop Calculator using the National Semiconductor MAPS MM570X [[bit-serial]] 4-bit microcontroller
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.

Some of the first microprocessors had a 4-bit word length and were developed around 1970. The first commercial microprocessor was the binary-coded decimal (BCD-based) Intel 4004, 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). 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.

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.

The 4-bit processors were programmed in assembly language or Forth, e.g. "MARC4 Family of 4 bit Forth CPU" (which is now discontinued) because of the extreme size constraint on programs and because common programming languages (for microcontrollers, 8-bit and larger), such as the C programming language, do not support 4-bit data types (C, and C++, and more languages require that the size of the char data type be at least 8 bits, and that all data types other than bitfields have a size that is a multiple of the character size).

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.

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, sometimes called "nybble-serial".

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.

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

Uses

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". Other typical uses include coffee makers, infrared remote controls, and security alarms.

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

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

  • 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. Western Digital used a 4-bit microcontroller as the basis for their WD2412 time-of-day clock.

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.

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

Details

Main article: Nibble

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

National Semiconductor MM5700CA/D [[bit-serial]] 4-bit microcontroller
  • Intel 4004 (first 4-bit microprocessor and widely regarded as the first commercially available microprocessor from 1971, discontinued 1981)
  • Intel 4040 (discontinued 1981)
  • TMS 1000 (the first high-volume commercial microcontroller, from 1974, after Intel 4004; now discontinued)
  • Atmel MARC4 core (discontinued because of Low demand. "Last ship date: 7 March 2015")
  • Samsung S3C7 (KS57 Series) 4-bit microcontrollers (RAM: 512 to 5264 nibbles, 6 MHz clock)
  • Toshiba TLCS-47 series
  • HP Saturn
  • NEC μPD75X
  • NEC μCOM-4
  • NEC (now Renesas) μPD612xA (discontinued), μPD613x, μPD6x and μPD1724x infrared remote control transmitter microcontrollers
  • EM Microelectronic-Marin EM6600 family, EM6580, EM6682, etc.
  • Epson S1C63 family
  • National Semiconductor "COPS I" and "COPS II" ("COP400") 4-bit microcontroller families
  • National Semiconductor MAPS MM570X
  • Sharp SM590/SM591/SM595
  • Sharp SM550/SM551/SM552
  • Sharp SM578/SM579
  • Sharp SM5E4
  • Sharp LU5E4POP
  • Sharp SM5J5/SM5J6
  • Sharp SM530
  • Sharp SM531
  • Sharp SM500 (ROM 1197×8 bit, RAM 40×4 bit, a divider and 56-segment LCD driver circuit)
  • Sharp SM5K1
  • Sharp SM4A
  • Sharp SM510 (ROM 2772×8 bit, RAM 128×4 bit, a divider and 132-segment LCD driver circuit)
  • Sharp SM511/SM512 (ROM 4032×8 bit, RAM 128/142×4 bit, a divider and 136/200-segment LCD driver circuit)
  • Sharp SM563

References

References

  1. (2023). "LLM-FP4: 4-Bit Floating-Point Quantized Transformers".
  2. Ken Shirriff. "Reverse engineering RAM storage in early Texas Instruments calculator chips".
  3. "Rockwell PPS-4".
  4. Hendrie, Gardner. (22 November 2002). "Oral History of Edson (Ed) D. de Castro".
  5. [https://rcsri.org/collection/nova-1200/ "Nova 1200"]
  6. "HP CPU and Programming".
  7. [http://www.vintagecalculators.com/html/casio_al-1000.html "Desk Electronic Calculators: Casio AL-1000"]
  8. [https://www.cryptomuseum.com/crypto/mehano/barbie/ Paul Reuvers and Marc Simons. Crypto Museum. "Barbie Typewriter", 2015]
  9. "National Semiconductor COP400". Sean Riddle.
  10. "Texas Instruments My Little Computer".
  11. "1983 Components Catalog". Western Digital.
  12. "COP420 4-Bit Processor - Newbrain".
  13. "Apple Lisa 341-0064A (COP421)".
  14. Culver, John. (September 27, 2014). "National Semiconductor: The COP before the COPS". .
  15. (2005-11-30). "The Microcomputer Revolution".
  16. "History in the Computing Curriculum".
  17. (December 1976). "TMS 1000 Series Data Manual". [[Texas Instruments]].
  18. "Forth Chips".
  19. "ISO/IEC 9899:1999 specification".
  20. "ISO/IEC 9899:1999 specification".
  21. "C++ FAQ: the rules about bytes, chars, and characters".
  22. "4-bit integer". cplusplus.com.
  23. (2007-04-27). "Zilog Oral History Panel on the Founding of the Company and the Development of the Z80 Microprocessor".
  24. "The Z-80 has a 4-bit ALU".
  25. "The Saturn Processor".
  26. "Guide to the Saturn Processor".
  27. "Introduction to Saturn Assembly Language".
  28. "Cateye Commuter Manual".
  29. "μPD67, 67A, 68, 68A, 69 4-bit single-chip microcontroller for infrared remote control transmission".
  30. "Introduction to Digital Logic and Microprocessors (Lecture 12.2)".
  31. "MARC4 4-bit Microcontrollers – Programmer's Guide". [[Atmel]].
  32. "MARC4 4-Bit Architecture". [[Atmel]].
  33. (2014-03-07). "Product End-of-Life (EOL) Notification". [[Atmel]].
  34. "μPD6P9 4-bit single-chip microcontroller for infrared remote control transmission".
  35. "μPD17240, 17241, 17242, 17243, 17244, 17245, 17246 4-bit single-chip microcontrollers for small general-purpose infrared remote control transmitters".
  36. "Microcontrollers for Remote Controllers".
  37. "Mask ROM/ROMless Products 4/8bit Remote Control".
  38. "Embedded Processing Directory".
  39. "EM6580".
  40. "EM6580".
  41. "EM6682".
  42. (September 1990). "Sharp Microcomputers Data Book".
Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about 4-bit computing — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report