microprocessor

term

programmingIT support

Kept in this browser · My desk

A computer's central processing unit on a single integrated circuit, which needs memory and input and output around it to make a working computer; Intel's 4004 of 1971 was the first sold.

Ted Hoff and Stanley Mazor at Intel conceived the 4004 as part of a chip set for Busicom's calculators, and Federico Faggin, with Masatoshi Shima, built it in 1971; the Computer History Museum gives it 2,300 transistors in one account and 2,250 in another. The 8-bit chips of the mid-1970s, the 8080, 6800, 6502 and Z80, made the personal computer possible, and Apple's M1 of 2020 holds 16 billion transistors.

What it is. The Computer History Museum (CHM) defines the microprocessor, or MPU (micro-processor unit), as a computer's central processing unit (CPU) squeezed onto one chip that still needs 'additional supporting and peripheral functions to build a complete system'; the microcontroller (MCU), by contrast, puts processor, read-only memory (ROM) and random-access memory (RAM) together for simpler tasks, as Texas Instruments' TMS1000 did in 1974. Inside, a microprocessor fetches instructions from memory, decodes them and executes them in its arithmetic logic unit (ALU), keeping working values in registers and its place in a program counter; memory, storage and peripherals sit outside and are reached over buses.

How it is measured. Microprocessors are compared by word width (4, 8, 16, 32, 64 bits), by the width of their data and address buses, which need not match, and by family. The 4004 worked in 4-bit chunks at up to 90,000 operations per second, the CHM's timeline says. The 8008 addressed 16 kilobytes, limited by the 18 pins of the package Intel already used; the 8080 addressed 64 kilobytes and was, in the museum's words, five times faster than the 8008 (Morse dates it April 1974, while the CHM's timeline files it under 1976); the 8086 of June 1978 reached one megabyte through 20-bit physical addresses built from 16-bit segments, and the 8088 of June 1979 was the same chip with eight of its data lines removed so that it could talk to cheap 8-bit support chips, which is why IBM chose it, as Stephen Morse tells it. Intel's user's manual for the family, of October 1979, splits the chip into an execution unit and a bus interface unit that looks ahead and prefetches instructions into a queue of four bytes in the 8088 and six in the 8086, an early form of the overlap that later chips took much further.

Origin. Several teams were converging on the idea by 1970: the CHM's Silicon Engine records Lee Boysel's AL-1 at Four-Phase Systems in 1969, an 8-bit CPU slice expandable to 32 bits, and the MP944 chip set that Steve Geller and Ray Holt of Garrett AiResearch designed in 1970 for the air data computer of the F-14A. Intel's 4004 was the first sold. IEEE Spectrum's Chip Hall of Fame tells the sequence: Busicom, a Japanese calculator maker, signed a provisional agreement with Intel in April 1969 for a custom chip set; its engineer Masatoshi Shima proposed eight chips; Ted Hoff, head of Intel's applications department, with Stanley Mazor, counter-proposed four, the 4001 program memory of 256 bytes, the 4002 data memory of 40 bytes, the 4003 interface and the 4004 CPU, a 4-bit system called MCS-4; Federico Faggin, hired in April 1970, designed the chips with Shima checking the logic, and Busicom had a working set in March 1971. Intel then offered Busicom a lower price in exchange for the right to sell the family outside calculators, and its first advertisement for the 4004 appeared in Electronic News in November 1971. The museum gives the 4004 2,300 transistors in one account and 2,250 in another; IEEE Spectrum says 2,300.

Generations. Stephen Morse, architect of the 8086, counted three early generations: the first chips, designed for specialized applications and 'not taken seriously', the 4004 and 8008; the second, general-purpose, the 8080, Z80 and 6800; and the third, the 8086, Z8000 and 68000, able 'to replace the big boys'. The CHM adds that the 6502, a low-cost variant on the 6800 by MOS Technology, enabled the personal computers and games of Apple, Atari and Commodore, that Zilog's Z80 was the most enduring 8-bit design, and that the 8086/8088 and the 68000 had the widest market success in the personal computer boom of the 1980s. After that the story is one of integration: Intel's software developer's manual records the 486 of 1989 with a five-stage pipeline, an 8-kilobyte on-chip cache and an integrated floating-point unit, and the Pentium of 1993 with two pipelines able to execute two instructions per clock and with branch prediction.

Pace and scale. Gordon Moore's projection of 1965, a doubling of the components on a chip every year, revised in 1975 to a doubling every two years, became the industry's yardstick, the CHM records, and Moore noted in 1995 that a Pentium held nearly 5 million transistors. Apple's M1 of 2020 holds 16 billion transistors on a 5-nanometre process and is a system on a chip (SoC), with CPU and graphics cores and a unified memory architecture in one package, which blurs the old line between the microprocessor and the computer around it.

Where it shows up. The researchers behind Spectre list desktops, laptops, cloud servers and smartphones, built on Intel, AMD and Arm processors, as the places it runs, and microcontrollers sit by the hundreds in appliances, cars and personal electronics, which the CHM calls perhaps today's most ubiquitous semiconductor device. Some boards now carry both kinds side by side: Arduino's UNO Q pairs a Qualcomm Dragonwing QRB2210 microprocessor, four Arm Cortex-A53 cores at 2.0 GHz running Debian Linux, with an STM32U585 microcontroller on an Arm Cortex-M33 at up to 160 MHz for real-time control.

What goes wrong. Much of the speed of modern processors comes from doing work before it is known to be needed, and in 2018 that became a security problem. Meltdown and Spectre, found by researchers including Jann Horn of Google Project Zero and teams at Graz University of Technology and elsewhere, showed that out-of-order and speculative execution leave traces in the cache that a program can measure to read memory it is not allowed to see. The researchers wrote that every Intel processor implementing out-of-order execution was potentially affected by Meltdown, effectively every one since 1995 except Itanium and Atom before 2013, and that they had verified Spectre on Intel, AMD and Arm processors. The National Vulnerability Database (NVD) lists Meltdown under the Common Vulnerabilities and Exposures (CVE) name CVE-2017-5754, published on 4 January 2018 with a Common Vulnerability Scoring System (CVSS) 3.1 score of 5.6, for local access with a high impact on confidentiality; Spectre is CVE-2017-5753 and CVE-2017-5715. Operating systems answered Meltdown with kernel page-table isolation (KPTI), and compilers added barriers against Spectre. Older failures sit in the arithmetic, such as the Pentium's division flaw, which has its own entry, and in the reading of data sheets: a chip sold as 16-bit may have an 8-bit bus, as the 8088 did.

Neighbours. The instruction set architecture is the contract a microprocessor implements, and microcode one way of implementing it; the microcomputer is what it makes when memory and input and output are added; the x86, Z80, 6502, 68000 and Arm families are its lineages; Moore's law sets its pace; endianness is one of the choices each family fixes, Intel's being little-endian; and side-channel attacks such as Spectre and Meltdown are its modern failure mode.

Also known as: microprocessador, MPU, micro-processor unit

Sources

← Back to M Back to the glossary