Microprocessors

# What is the purpose of an ALU?

394041 ###### 2011-02-27 23:47:07

ALU

Abbreviation of arithmetic logic unit, the part of a computer that performs all arithmetic computations, such as addition and multiplication, and all comparison operations. "Logical" operations - such as AND, OR and XOR is the fundamental ones, that all the others are derived from. However, the ALU functions on a computer "Word" being one or many bytes. It is given an instruction that can involve 0, 1 or 2 arguments. So the ALU is associated with the capability to access the memory - RAM and will wait until it "Memory Access Registers" are ready, will then execute the instruction. Another "ALU" will calculate the next instruction and request this. A third circuit will update the memory with any result from this operation.

The ALU is the main component of the CPU (central processing unit).

-----------In a way, the ALU is where you have at least one argument: the last answer, and can make an operation to this: A + B -> C.

The operation "+" can be arithmetic, like addition or it is logical like AND or to compare two numbers.

The ALU is made up by "gates" that takes one bit at a time.

🙏
0
🤨
0
😮
0
😂
0

## Related Questions The Arithmetic Logic Unit (ALU) inside the Central Processing Unit (CPU) of the computer.Most modern computers however do not have a single general purpose ALU that handles everything, but instead have several independently functioning special purpose ALUs optimized for specific data types (e.g. integer numbers: I-ALU, floating point numbers: FP-ALU, boolean logical values: LU). There is one main difference between combinational ALU and sequential ALU. Combinational ALU depends only on present circuits, and sequential ALU depends on both the present and the past. Mathematician John von Neumann proposed the ALU concept in 1945.(ALU) is a digital circuit that performs integerarithmetic and logical operations. ALU is part of the CPU. ALU does the arithmetic or logic upon the bytes presented to it. The CPU fetches an instruction from RAM, decodes it, sends the desired byte(s) to the ALU, and also tells it which operation to perform on them. ALU- Arithmetic Logic Unit CU- Control Unit alu performs the arithmetic and logic operations. cu is the one which controls the entire processing. ALUShort for Arithmetic Logic Unit, ALU is one of the many components within a computer processor. The ALU performs mathematical, logical, and decision operations in a computer and is the final processing performed by the processor. After the information has been processed by the ALU, it is sent to the computer memory.In some computer processors, the ALU is divided into two distinct parts, the AU and the LU. The AU performs the arithmetic operations and the LU performs the logical operations. ALU- Arithmetic Logic Unit CU- Control Unit ALU performs the arithmetic and logic operations. CU is the one which controls the entire processing. It directs the flow of data between the Central Processing Unit (CPU) and the other devices - eg ALU. It doesn't. Usually, the CPU general purpose registers provide input to the ALU, and the Accumulator receives the answer temporarily until it can be placed back into one of those registers. Exactly how this is wired up varies widely with different CPU architectures, but in the theoretical model of an ALU, you specify which function you want, and the answer appears at the output as fast as the gates can operate. It is up to the CPU to store it somewhere. The microprocessor is an integrated circuit(IC) of central processing unit(CPU) of a computer. It consists of an ALU,control unit, general purpose registers etc.

###### MicroprocessorsComputer HardwareThe Difference BetweenSamoaComputersTranslationsComputer TerminologyAcronyms & AbbreviationsCelebrity Births Deaths and AgesStock MarketComputer Memory Copyright © 2020 Multiply Media, LLC. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Multiply.