answersLogoWhite

0


Best Answer

The function of the Control Unit is to direct how the CPU or any other type of device should operate. The ALU is responsible for carrying out arithmetic operations as well as logic operations.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

ALU Functions

  • NOT: Every bit in a word is changed into its opposite. Ones become zeros, and zeros become ones. For example: NOT 1010 yeilds 0101.
  • Left Shift: All of the bits in a word are shifted one position to their left. The left-most bit is lost, and the right-most bit is set to zero. For example: lshift(1011) yeilds 0110.
  • Right Shift: All of the bits in a word are shifted one position to their right. The right-most bit is lost this time, and the left-most bit is generally set to zero. For example: rshift(1011) yeilds 0101.
  • Add and Subtract: Adds or subtracts one value from another.
  • AND: Stands for the bitwise AND function. In a bitwise AND, each bit of the output is a one only if both of the input bits are a one. For example: 1010 AND 0110 yeilds 0010.
  • OR: Works much the same way as AND, only each output bit is a one if either of the input bits are a one. For example: 1010 OR 0110 outputs 1110.
This answer is:
User Avatar

User Avatar

Wiki User

15y ago

what are the main functions of control unit what are the main functions of control unit

This answer is:
User Avatar

User Avatar

Wiki User

7y ago

The ALU also known as the Arithmetic Logic Unit is used to perform arithmetic calculations like add, subtract, multiply, etc.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the two operations performed by the alu?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What the function of ALU?

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.


What is the function of alu?

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.


What activities are carried out by the ALU?

The Arithmetic Logic Unit (ALU) is an essential component of a computer's central processing unit (CPU). It performs various operations related to arithmetic and logic. One of the primary activities of the ALU is arithmetic operations such as addition, subtraction, multiplication, and division. These operations are performed on binary numbers, which are represented in the form of bits. The ALU can perform these operations on two or more operands, depending on the instruction given by the CPU. The ALU also performs logical operations such as AND, OR, NOT, and XOR. These operations are used to manipulate the bits in the operands to produce a desired output. For example, the AND operation returns a 1 only if both the operands have a 1 in the same position. Besides these basic operations, the ALU also performs comparison operations. It compares two operands and produces an output indicating whether they are equal, greater than, or less than each other. The ALU also performs shift operations, which involve moving the bits in an operand left or right by a certain number of positions. Shift operations are useful in programming, where they can be used to manipulate data stored in registers. Finally, the ALU can also perform other operations such as incrementing and decrementing. These operations are used to modify the value of a register or memory location. In summary, the ALU performs a variety of operations related to arithmetic, logic, comparison, and manipulation of binary numbers. Its efficient operation is crucial for the overall performance of a computer's CPU.


Who invented the ALU?

Mathematician John von Neumann proposed the ALU concept in 1945.(ALU) is a digital circuit that performs integerarithmetic and logical operations.


What performs arithmetic comparison and logical operations?

ALU


What are the functions of the ALU?

to perform arthmatic and logical operations


What is the part of the CPUthat handles arithmetic and logic operations?

ALU


What performs the arithmetic computation and logic operations in the CPU?

ALU


What is the full form ALU?

In computing, an arithmetic logic unit ( ALU) is a digital circuit that performs arithmetic and logical operations.


What is the difference between ALU and CU?

ALU- Arithmetic Logic Unit CU- Control Unit alu performs the arithmetic and logic operations. cu is the one which controls the entire processing.


The part of the microprocessor that performs integer arithmetic operations is called the?

ALU


What are mathematical calculations and comparison decisions performed by?

ALU