Functions of Arithmetic Logic Unit of Computer System


The arithmetic logic unit, or ALU, is the data processing unit of the microprocessor. It is the most important part of the central processing unit (CPU). Functions of the arithmetic logic unit (ALU) are described below in detail:

Functions of Arithmetic Logic Unit

  • Arithmetic operation (addition, subtraction, multiplication, and division)
  • Logical operations (OR, AND, NOT, etc.)
  • Decision making.

ALU is the computer’s calculator. A few current processors use multiple ALUs to attain high processing speeds. However, most microprocessors have a single ALU.

Arithmetic operations include addition, subtraction, multiplication, and division. The data operated on can be stored in various forms: binary, BCD, EBCDIC, and ASCII representations.

The ALU makes use of temporary storage areas referred to as registers. Data to be arithmetically manipulated are copied from memory and placed in registers for processing.

Upon completion of the arithmetic operation. The result can be transferred from the Accumulator to memory. The ALU uses one or more adders (shown as a logic circuit) that actually add, subtract, multiply, or divide the binary digits.

Decision-making is the ability to compare two numbers to determine, if the first number is smaller than, equal to, or greater than the second number and to take appropriate action based on the result of the comparison.

Arithmetic logic unit
Arithmetic logic unit

For example, if the question is x > 100; the ALU would determine the answer as being either true or false depending on the value of X. It is also possible to test a condition during the processing of an application and to alter the sequence of instructions accordingly.

The various circuits used in the execution of data processing instructions by a processor are usually merged into the ALU. The Complexity of an ALU is determined by the manner in which its arithmetic instructions are realized.

Simple ALUs for fixed-point operations can be constructed around the circuits developed for multiplication and division. More expensive data processing and control logic are necessary to implement floating-point arithmetic in hardware.

Some microprocessor families having fixed-point  ALUs employ special-purpose units called arithmetic coprocessors to perform floating-point and other complex numerical functions.

You May Like Also:


1 thought on “Functions of Arithmetic Logic Unit of Computer System”

  1. this is awesome content it clear my idea abut arithmetic logic unit hope you will add more article like this
    thanks

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top
Scroll to Top