4-bit computing: Difference between revisions

Content deleted Content added
Uses: Added picture of 4-bit microcontroller die. Added some examples of 4-bit applications taken from the COP400 article.
Use {{cite conference}} for a conference paper.
 
(5 intermediate revisions by 5 users not shown)
Line 3:
{{Computer architecture bit widths}}
 
'''4-bit computing''' is the use of [[computer architecture]]s in which [[integer (computer science)|integers]] and other [[data (computer science)|data]] units are 4 [[bit]]s wide. 4-bit [[central processing unit]] (CPU) and [[arithmetic logic unit]] (ALU) architectures are those that are based on [[processor register|registers]] or [[Busbus (computing)|data buses]] of that size. A group of four bits is also called a [[nibble]] and has 2<sup>4</sup> = 16 possible values, with a range of 0 to 15.
 
4-bit computation is obsolete, i.e. CPUs supporting 4-bit as the maximum size. However, 4-bit integers (or smaller), and 4-bit floating point is gaining ground for AI, large-language models.<ref>{{cite conference |arxiv=2310.16836 |doi=10.18653/v1/2023.emnlp-main.39 |title=LLM-FP4: 4-Bit Floating-Point Quantized Transformers |book-title=Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing |date=2023 |last1=Liu |first1=Shih-Yang |last2=Liu |first2=Zechun |last3=Huang |first3=Xijie |last4=Dong |first4=Pingcheng |last5=Cheng |first5=Kwang-Ting |pages=592–605 }}</ref>
4-bit processors were widely used in [[electronic calculator]]s and other roles where decimal math was used, like electronic [[cash register]]s, [[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 processors were widely used in [[electronic calculator]]s and other roles where decimal math was used, like electronic [[cash register]]s, [[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 circuit]]s 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. An example of such a system is the [[HP Saturn]] design of the 1980s. By the 1990s, most such uses had been replaced by general purpose binary designs.
Line 29 ⟶ 31:
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 [[AMD Am2900|Am2901]] or [[74181]].
 
The [[Zilog Z80]] (discontinued in 2024), although it is an 8-bit microprocessor, has a 4-bit ALU.<ref name="Shima_Z80" /><ref name="Shirriff_Z80" />
 
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,<ref>{{ cite interview | first = Gardner | last = Hendrie | title = Oral History of Edson (Ed) D. de Castro | date = 22 November 2002 | url = http://archive.computerhistory.org/resources/access/text/2012/07/102702207-05-01-acc.pdf | pages = 44 }}</ref> sometimes called "nybble-serial".<ref>[https://rcsri.org/collection/nova-1200/ "Nova 1200"]</ref>
Line 38 ⟶ 40:
 
== Uses ==
[[File:National_Semiconductor_COP410L_NGS_top_metal.jpg|thumb|National Semiconductor COP410L, a low-end 4-bit microcontroller. 512 bytes of ROM in upper left corner, 64128 bits of RAM in upper right corner. Click to zoom.]]
One bicycle computer specifies that it uses a "4 bit, 1-chip microcomputer".<ref name="Cateye" /> Other typical uses include [[coffeemaker|coffee makers]], [[remote control|infrared remote controls]],<ref name="RenesasPD67" /> and [[security alarm]]s.<ref name="Haskell_MC" /><!-- "4-bit" or "4 bit" isn't actually in the source, 8-bit PIC is, and "Includes coffee makers, burglar alarms, TV remote controls, simple robots, etc." -->
 
Line 100 ⟶ 102:
 
== References ==
{{refsreflist|refs=
<ref name="Mack_2005">{{cite web |title=The Microcomputer Revolution |author-first=Pamela E. |author-last=Mack |date=2005-11-30 |url=http://www.clemson.edu/caah/history/FacultyPages/PamMack/lec122/micro.htm |access-date=2009-12-23}}</ref>
<ref name="Hofstra_History">{{cite web |title=History in the Computing Curriculum |url=http://www.hofstra.edu/pdf/comphist_9812tla6.pdf |access-date=2017-06-22 |archive-url=https://web.archive.org/web/20110719211222/http://www.hofstra.edu/pdf/CompHist_9812tla6.PDF |archive-date=2011-07-19 |url-status=dead}}</ref>
Line 137 ⟶ 139:
 
{{CPU technologies}}
 
[[Category:Data unit]]