Categories: Processor

Arithmetic And Logic Unit

Arithmetic and Logic Unit (ALU) in microprocessor is capable of performing the following operations on binary data.

  1. Binary addition and subtraction
  2. Logical AND, OR, XOR
  3. Complement
  4. Rotate left and right

ALU has three registers: accumulator, temporary register and flag register (SR). Accumulator and temporary register are used to hold the operand of the operations being performed. The result of the operation is again placed in the accumulator replacing all the existing original operands.

The ALU contains number of flip-flops called flags to store information related to the result of the operation. The information may be sign of the result, carry status, result is 0 or not, parity etc. Decimal adjust is an additional unit used to adjust the result of the addition operation.

Robin

Share
Published by
Robin

Recent Posts

Hard Computing

What is hard computing? Hard computing is a traditional computing. It requires a precisely stated…

5 years ago

Soft Computing

Soft computing is a problem solving technology. It tends to fuse synergically different aspects of…

5 years ago

Cluster Computing

Cluster computing is an approach to achieve high performance, reliability or high throughput computing by…

5 years ago

Magnitude Comparator

Magnitude Comparator is a combinational circuit capable of comparing the relative magnitude of two binary…

10 years ago

Full-Subtractor

Full subtractor is a combinational circuit capable of performing subtraction on two bits namely minuend…

10 years ago

Half-Subtractor

Half-subtractor is a combinational circuit capable of subtracting a binary number from another binary number.…

10 years ago