Explain the role of the control unit and ALU in performing computer operations.

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter6: System Integration And Performance
Section: Chapter Questions
Problem 7VE
icon
Related questions
Question

Explain the role of the control unit and ALU in performing computer operations.

 

Expert Solution
Step 1

Arithmetic Logical Unit

An arithmetic logic unit (ALU) is the main part of the central processing unit (CPU) of a computer system. It performs all processes related to arithmetic and logic operations that need to be done on instruction words. In some processors, the arithmetic logical unit is divided into two units, an arithmetic unit (AU) and a logic unit (LU).

The (ALU) is typically designed in such a way that it has a direct input and output access to the processor main memory –the random access memory (RAM). Now, the input and outputs flow along an electronic path that is known as a bus. The input consists of an instruction word that contains an operation code or sometimes a format code. The operation code informs the ALU what operation to perform and the operands are used in the operation. Examples of operations that are regularly carried out by the ALU include:

  • Arithmetic Operations: This is basically addition and subtraction. Addition can be substituted for multiplication and subtraction for division.
  • Logical Operations:  This include NOR, NOT, OR, XOR etc.
  • Bit shifting Operations:  This entails shifting the position of bits by a certain number of places to either the right or left, which is considered a multiplication operation.

In summary, the ALU has storage places for input operands, operands that are being added, the accumulated results and shifted results. The flow of data and the operations performed on them in subunits of the ALU is controlled by gated circuits. Division and multiplication are done by a series of adding or subtracting and shifting operations. 

 

Step 2

Control Unit :

The control unit (CU) is a component of the central processing unit of the computer system that controls the operations of the processor. It informs the arithmetic and logic unit, the computer’s main memory and the output and input devices how to respond to the command that have been sent to the processor.  The control unit is taken to be the processor brain because it issues orders to everything and ensure that the best results are produced.

Typically, the control unit has been designed with digital circuits, encoders, decoders, logic gates and flip-flops that are arranged in a certain fixed way. There is also a special control memory that stores microprograms based on flowcharts.

The functions of the Control Unit (CU) include:

  • Interprets instructions, regulate and control processor timing.
  • Directs data flow through different components of the CPU.
  • Handle tasks such as decoding, fletching, executing the command and storing results.
  • Sends and receives control signals from other computer gadgets.
  • Directs sequential data flow.
  • Interprets commands and instructions.
Step 3

Key Difference

The arithmetic logic unit and control unit are two important components of the central processing unit (CPU) that differ in the following ways.

 
  1. ALU stands for Arithmetic Logical Unit, and it is a circuit component of the CPU that deals with mathematics calculations, data processing and deducting all the logical conclusions and outputs. Arithmetic operations include basic calculations such as addition, subtraction, multiplication and division.  CU on the other hand, stands for Control Unit, and is one of the two main components of the computer processor; it deals with the coordination between the hardware devices attached with each other and works as an interactive bridge between software and hardware of the computer system. Parts of the internal components that the control unit directs include the arithmetic logical unit and buses.
  2. ALU also deals with manipulation of the data and works according to the instructions of the control unit, whereas Control Unit provides instructions to the arithmetic logical unit and coordinates according to the nature of the data provided and nature of work to be performed.
  3. Arithmetic logical unit engages in comparison operations whereby one data item is compare with the other data item to determine which item is greater then, equal to or less than the other item. On the other hand, control unit interprets instructions provided by a program and the initiates the appropriate action to carry out the instruction.
  4. ALU depend entirely on the Control unit for its function. The control unit does not in any way depend on the arithmetic logic unit.
  5. The Arithmetic logical unit helps in understanding the information entered and produces the results in a better way. The control unit acts as a communicator between the memory and the arithmetic logical unit.
steps

Step by step

Solved in 5 steps

Blurred answer
Knowledge Booster
Microchip
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Enhanced Discovering Computers 2017 (Shelly Cashm…
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning
CMPTR
CMPTR
Computer Science
ISBN:
9781337681872
Author:
PINARD
Publisher:
Cengage