Physics Daily - Physics Encyclopedia and Research Articles
      Back to Physics Daily Main Menu Go to Index of Topics/Articles

Arithmetic logic unit

(Redirected from Arithmetic and Logical Unit)
This article is about computer arithmetic units. An alternative meaning of ALU is Alu sequence.

An arithmetic[-]logic unit (ALU) is a core component of all computer CPUs. ALUs are capable of calculating the results of a wide variety of basic arithmetical computations, most commonly the following ones:

A standard ALU typically does not handle integer division or any floating point operations. For these calculations separate components, such as dividers and floating point units (FPUs), may be used, or a microcode program may use the ALU to emulate these operations.

The ALU takes as inputs the data to be operated on (called operands) and a code from the control unit indicating which operation to perform. The output is the result of the computation.

In many designs the ALU also takes/generates as inputs/outputs a set of condition codes from/to a status register; typically these codes are used to indicate cases such as carry-in or carry-out, overflow, divide-by-zero, etc.

See also

07-10-2008 09:35:13
The contents of this article are licensed from Wikipedia.org under the GNU Free Documentation License. How to see transparent copy
 
PhysicsDaily.com Legal info