the register where a computer stores the result of an arithmetic operation. For example, in 8086 assembly language, the instruction ADD AX,10 means "Add 10 to the number in the accumulator, and leave the result there." Some computers can use more than one register as an accumulator.
See also computer architecture , assembly languagethe design and internal structure of digital computers.
Fundamentally, a computer is a machine that can store instructions and execute them. Thus, it consists of two major parts,
The CPU spends its time retrieving instructions from memory and doing whatever those instructions say. Each instruction is a pattern of bits (binary ones and zeroes, represented by electrical on and off signals). When the instruction reaches the CPU, the CPU must decode recognize) it and activate the appropriate functional unit within the CPU in order to carry out the instruction. Functional units include adders, multipliers, circuits to compare bit patterns, etc., all of which are built from logic gates (for an example, see
The CPU contains
Every location in memory has an
Most computers use a
Programmers normally do not write CPU instructions. Instead, they write programs in a high-level language such as BASIC, C, or Pascal, and use a

intermediate-level computer language that is less complex to use than a machine language. Assembly languages use abbreviations or mnemonic codes to replace the 0s and 1s of machine language (A for "add," C for "compare," and MP for "multiply"). A translator is required to convert the assembly language program into machine language that can be executed by the computer. This translator is the assembly program. Every command in assembly language has a corresponding command in machine language. The assembly language differs among computers, and thus these programs are not easily transferable to machines of a different type from the one on which they were written.
Site Map | Contact Us | FAQs | About Us | Media Kit | Reprints | RSS Directory | Sign Up for Free Newsletters | Disclosure Policy
Copyright © 1999 - 2008 AllBusiness.com, Inc. All rights reserved.
No part of this content or the data or information included therein may be reproduced,
republished or redistributed without the prior written consent of AllBusiness.com.
Use of this site is governed by our Copyright and Intellectual Property Policy, Terms of Use Agreement and Privacy Policy.
