Digital logic & computing · tree view
A processor is control unit + ALU + registers cycling through fetch/execute against a shared memory; when everything (CPU, ROM, RAM, I/O) lands on one chip you get a microprocessor (Intel 4004, 1971) or, with all memory integrated, a microcontroller (TI TMS1000, 1971–72).
Both the program steps and the processed data were to reside in a common memory "pool," thus giving way to the label of the stored-program computer.
Putting these components together (read/write memory, ALU, and control unit) results in a digital device that is typically called a processor. If minimal memory is used, and all the necessary components are contained on a single integrated circuit, it is called a microprocessor.
CPU operation is summed up in the so-called fetch/execute cycle. Fetch means to read an instruction from memory for the Control Unit to decode. A small binary counter in the CPU (known as the program counter or instruction pointer) holds the address value where the next instruction is stored in main memory.
The instruction has now been "fetched" and "executed," so the Control Unit now increments the program counter to step the next instruction, and the cycle repeats itself.
Devices such as this, which can perform a variety of arithmetical tasks as dictated by a binary input code, are known as Arithmetic Logic Units (ALUs), and they comprise one of the essential components of computer technology.
The central processing unit IS THE COMPUTER. It is the cpu that processes the data transferred to it from one of the various input devices, and then transfers either the intermediate or final results of the processing to one of many output devices.
It consists of a control section, internal storage section (main or primary memory), and arithmetic-logic section (fig. 2-1).
The four major types of instructions are (1) transfer, (2) arithmetic, (3) logic, and (4) control.
MICROPROCESSOR—The semiconductor central processing unit (cpu) of a microcomputer that fits on a small silicon chip. The microprocessor is the central chip containing the control units of the computer.
The Intel 4004 (1971) was built for the Busicom 141-PF calculator: architecture by Marcian "Ted" Hoff and Stanley Mazor, silicon by Federico Faggin with Masatoshi Shima. It replaced a 12-custom-chip calculator design with a programmable 4-chip set — CPU, ROM, RAM and shift register as separate chips — and started at about 2,300 transistors.
The TI TMS1000 (designed under Gary Boone, announced 1971–72, shipped inside TI calculators from 1972) put a complete computer — CPU, ROM, RAM and I/O — on one cheap chip so appliances could be smart at consumer prices. That integration of memory and I/O onto the CPU chip is what makes it the first microcontroller rather than a microprocessor.
In some microprocessor designs, there are minimal programs stored within a special ROM memory internal to the device (called microcode) which handle all the sub-steps necessary to carry out more complex math operations.
The control section may be compared to a telephone exchange because it uses the instructions contained in the program in much the same manner as the telephone exchange uses telephone numbers.
In essence, its a processor inside of a processor; a program running inside of a program.
A minimal machine: program memory holds LDA 5 (load accumulator from address 5), ADD 6, OUT, HLT, with mem[5] = 42 and mem[6] = 8. The program counter (PC) always drives the address bus for the fetch phase; the control unit decodes and, if data is needed, fetches the operand, then executes and advances the PC. Trace the LDA instruction cycle below.
To predict the outcome:
| cycle_step | pc | address_bus | action | accumulator |
|---|---|---|---|---|
| 1 — fetch | 0 | 0 (points at opcode) | memory returns 'LDA 5'; instruction register loads it | unchanged |
| 2 — decode | 0 | — | control unit interprets opcode: operand lives at address 5 | unchanged |
| 3 — execute | 0 | 5 (operand address) | mem[5] = 42 read from memory into the accumulator | 42 |
| 4 — advance | 0 → 1 | — | program counter incremented; next cycle begins | 42 |
| next cycles (ADD 6, OUT, HLT) | 1 → 2 → 3 | 6 (operand) | acc = 42 + 8 = 50; display; halt | 50 |
Both are single-chip CPUs born in 1971, but they split on integration: the 4004 delegates program and data memory to companion chips (the 4001 ROM, 4002 RAM, 4003 shift register of the MCS-4 set), while the TMS1000 carries its own masked ROM, RAM and I/O on the die. Predict each row from that one difference.
To predict the outcome:
| feature | microprocessor_4004_1971 | microcontroller_tms1000_1971_72 |
|---|---|---|
| CPU on chip | yes | yes |
| program ROM | external chip (4001) | on-chip, mask-programmed |
| data RAM | external chip (4002) | on-chip |
| I/O peripherals | external | on-chip |
| system cost to build | multi-chip board (4-chip MCS-4 set) | one chip — consumer prices |
| typical home | Busicom 141-PF calculator compute core | TI calculators, then appliances/toys |
| modern descendants | PC/server CPUs (8080 lineage) | 8051/PIC/AVR/ARM embedded chips |
The components behind this lesson line up in time: the Eccles-Jordan trigger relay (1918) gave digital systems a storable bit; standard logic families made counters and registers cheap; then two 1971 chips split the processor world in two. Dates below come from the component records; check they are strictly ordered.
To predict the outcome:
| year | milestone | component |
|---|---|---|
| 1918 | Eccles & Jordan trigger relay — first bistable multivibrator | flip-flop |
| 1964/1966 | TI introduces the 7400-series TTL logic family (SN5400 1964, SN7400 1966) | ttl-7400 |
| 1968 | RCA COS/MOS — the 4000-series CMOS logic line | cmos-4000 |
| 1971 | Intel 4004 for Busicom: Hoff/Mazor architecture, Faggin/Shima silicon | microprocessor |
| 1971–72 | TI TMS1000 under Gary Boone — complete computer on one chip | microcontroller |