Jump to content

Central processing unit

From Encyc

The traditional computer, sometimes called a Von Neumann machine, was organized around a single central processing unit.

The most advanced computers use single chip processors, with billions of transistors, and rely on multiple processing units, called "cores", which operate in parallel.

The job of the central processing unit was to decode and execute the instructions of a computer program.

Those instructions were stored, sequentially, in the computer's memory -- a separate component. Those instructions are written in the computer's "machine language".

The very earliest computers, like the early ENIAC used vacuum tubes for switches. Vacuum tubes were replaced by transistors, which were faster, more compact, and much more reliable. Transistors soon grew much cheaper than vacuum tubes. Transistors were replaced by integrated circuits, were multiple transistors were printed on small chips of pure semiconductor.

By the early 1970s electronics manufacturers were able to put all the electronics for a simple computers on a single chip. The Intel 4004, was a single chip computer with approximately 2,300 transistors on it.

Those 2,300 transistors were enough to decode and execute the 46 instructions of the Intel 4004 computer.

A CPU's operation would start with loading an instruction, from memory, into the CPU's instruction register. It would then decode the instructions, and execute it. Once it had processes the instructions, another register, the instruction pointer register, would be incremented by one, and the next instruction would be fetched into the instructions register, for processing. Processing an instruction would take multiple clock cycles.

Even simple computers, like the 4004, relied on other registers, like an accumulator, where arithmetic operations were performed, and status registers.