Difference between revisions of "Central processing unit"
HitTheHive (Talk | contribs) m (Moving article away from acronym title.) |
HitTheHive (Talk | contribs) (lead) |
||
| Line 1: | Line 1: | ||
| − | ''' | + | '''Central Processing Unit''' (CPU) is the main control mechanism of a [[computer]], containing control, logic, registers, and arithmetic and logic unit (ALU) as well as a memory interface. Some CPUs implement additional functionality, but often other capabilities are provided through peripheral processors that handle such things as I/O, Floating-point [[arithmetic]], and [[vector]] processing. All computers contain at least one CPU, but some contemporary computers contain over 1,000. |
The purpose of a CPU is to execute programs. Programs are a series of numeric values, where each value indicates a specific operation. Each value is referred to as an '''instruction'''. These values are known as [[machine code]]. All of the instructions that can be executed by a CPU are collectively known as the CPU's '''instruction set'''. Different CPU models usually implement completely different instruction sets, so that programs written for one CPU will not execute on a different one. Writing programs in machine code is difficult, so programs called '''assemblers''' were written to translate mnemonics into machine code, thus increasing the speed of writing, and the reliability of, programs. Since the 1960s, most programs have been written using a [[Programming Language]], which are even easier to use than an assembler. | The purpose of a CPU is to execute programs. Programs are a series of numeric values, where each value indicates a specific operation. Each value is referred to as an '''instruction'''. These values are known as [[machine code]]. All of the instructions that can be executed by a CPU are collectively known as the CPU's '''instruction set'''. Different CPU models usually implement completely different instruction sets, so that programs written for one CPU will not execute on a different one. Writing programs in machine code is difficult, so programs called '''assemblers''' were written to translate mnemonics into machine code, thus increasing the speed of writing, and the reliability of, programs. Since the 1960s, most programs have been written using a [[Programming Language]], which are even easier to use than an assembler. | ||
Revision as of 03:19, July 24, 2007
Central Processing Unit (CPU) is the main control mechanism of a computer, containing control, logic, registers, and arithmetic and logic unit (ALU) as well as a memory interface. Some CPUs implement additional functionality, but often other capabilities are provided through peripheral processors that handle such things as I/O, Floating-point arithmetic, and vector processing. All computers contain at least one CPU, but some contemporary computers contain over 1,000.
The purpose of a CPU is to execute programs. Programs are a series of numeric values, where each value indicates a specific operation. Each value is referred to as an instruction. These values are known as machine code. All of the instructions that can be executed by a CPU are collectively known as the CPU's instruction set. Different CPU models usually implement completely different instruction sets, so that programs written for one CPU will not execute on a different one. Writing programs in machine code is difficult, so programs called assemblers were written to translate mnemonics into machine code, thus increasing the speed of writing, and the reliability of, programs. Since the 1960s, most programs have been written using a Programming Language, which are even easier to use than an assembler.
A microprocessor is a any processor implemented on a single integrated circuit, however most microprocessors are CPUs. The most common microprocessors used in general-purpose computers are from Intel.