SlideShare a Scribd company logo
1 of 12
Control Unit
Sameer Patil
patilfriends@gmail.com
Topic Cover
Structure of the Control Unit
 Functioning of the Control Unit,
Microprogrammed control
Control Unit
CPU have two basic components Control Unit and ALU
The control unit of CPU Select the interprets program instruction and then
coordinate their execution.
The Control Unit does not perform any actual processing of data, it acts as the
central nervous System for other component of computer.
It manages and coordinate the entire computer system including its input and out
put unit .
It obtain instruction from the program stored in main memory, Interprets the
instruction and issues signal that cause other unit of system to executes them .
A control unit works by receiving input information that it
converts into control signals, which are then sent to the central
processor.
 The computer's processor then tells the attached hardware what
operations carry out.
The functions a control unit performs depend on the type of CPU,
due to the variance of architecture between different
manufacturers. The following diagram illustrates how
instructions from a program are processed.

 CPU performs all types of data processing operations.
 It stores data, intermediate results and instructions(program).
 It controls the operation of all parts of computer.
 This unit controls the operations of all parts of computer but does not carry
out any actual data processing operations.
 Functions :-Functions of this unit are:
 It is responsible for controlling the transfer of data and instructions among
other units of a computer.
 It manages and coordinates all the units of the computer.
 It obtains the instructions from the memory, interprets them, and directs
the operation of the computer.
 It communicates with Input/Output devices for transfer of data or results
from storage.
 It does not process or store data.

The control unit is arguably the most complicated part of this model CPU, and is
responsible for controlling much of the operation of the rest of the processor. It does this
by issuing control signals to the other areas of the processor, instructing them on what
should be performed next.
As such, the three main elements of the control unit are as follows:
Decoder
This is used to decode the instructions that make up a program when they are being
processed, and to determine in what actions must be taken in order to process them.
These decisions are normally taken by looking at the opcode of the instruction, together
with the addressing mode used.
Timer or clock
The timer or clock ensures that all processes and instructions are carried out and
completed at the right time. Pulses are sent to the other areas of the CPU at regular
intervals (related to the processor clock speed), and actions only occur when a pulse is
detected. This ensures that the actions themselves also occur at these same regular
intervals, meaning that the operations of the CPU are synchronised.
Control logic circuits
The control logic circuits are used to create the control signals
themselves, which are then sent around the processor. These
signals inform the arithmetic and logic unit and the register
array what they actions and steps they should be performing,
what data they should be using to perform said actions, and
what should be done with the results.
 A register is a memory location within the CPU itself, designed to be
quickly accessed for purposes of fast data retrieval. Processors normally
contain a register array, which houses many such registers. These contain
instructions, data and other values that may need to be quickly
accessed during the execution of a program.Many different types of
registers are common between most microprocessor designs. These are:
 Program Counter (PC)
This register is used to hold the memory address of the next instruction
that has to executed in a program. This is to ensure the CPU knows at all
times where it has reached, that is able to resume following an
execution at the correct point, and that the program is executed
correctly.
 Instruction Register (IR)
This is used to hold the current instruction in the processor while it is being
decoded and executed, in order for the speed of the whole execution
process to be reduced. This is because the time needed to access the
instruction register is much less than continual checking of the memory
 Accumulator (A, or ACC)
The accumulator is used to hold the result of operations performed by the arithmetic and logic
unit, as covered in the section on the ALU.
 Memory Address Register (MAR)
Used for storage of memory addresses, usually the addresses involved in the instructions held in
the instruction register. The control unit then checks this register when needing to know which
memory address to check or obtain data from.
 Memory Buffer Register (MBR)
When an instruction or data is obtained from the memory or elsewhere, it is first placed in the
memory buffer register. The next action to take is then determined and carried out, and the
data is moved on to the desired location.
 Flag register / status flags
The flag register is specially designed to contain all the appropriate 1-bit status flags, which are
changed as a result of operations involving the arithmetic and logic unit. Further information
can be found in the section on the ALU.
 Other general purpose registers
These registers have no specific purpose, but are generally used for the quick storage of pieces
of data that are required later in the program execution.
 The system bus is a cable which carries data communication between the major components of the
computer, including the microprocessor.
 The system bus consists of three different groups of wiring, called the data bus, control bus and
address bus. These all have seperate responsibilities and characteristics, which can be outlined as
follows:
 Control Bus
The control bus carries the signals relating to the control and co-ordination of the various activities
across the computer, which can be sent from the control unit within the CPU. Different architectures
result in differing number of lines of wire within the control bus, as each line is used to perform a
specific task. For instance, different, specific lines are used for each of read, write and reset requests.
 Data Bus
This is used for the exchange of data between the processor, memory and peripherals, and is bi-
directional so that it allows data flow in both directions along the wires. Again, the number of wires
used in the data bus (sometimes known as the 'width') can differ. Each wire is used for the transfer of
signals corresponding to a single bit of binary data. As such, a greater width allows greater amounts
of data to be transferred at the same time.
 Address Bus
The address bus contains the connections between the microprocessor and memory that carry the
signals relating to the addresses which the CPU is processing at that time, such as the locations that
the CPU is reading from or writing to. The width of the address bus corresponds to the maximum
addressing capacity of the bus, or the largest address within memory that the bus can work with. The
addresses are transferred in binary format, with each line of the address bus carrying a single binary
digit. Therefore the maximum address capacity is equal to two to the power of the number of lines
present (2^lines).


More Related Content

What's hot

Processor organization & register organization
Processor organization & register organizationProcessor organization & register organization
Processor organization & register organizationGhanshyam Patel
 
Timing and-control-unit
Timing and-control-unitTiming and-control-unit
Timing and-control-unitAnuj Modi
 
instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle pptsheetal singh
 
Memory Reference Instructions
Memory Reference InstructionsMemory Reference Instructions
Memory Reference InstructionsRabin BK
 
Microprogram Control
Microprogram Control Microprogram Control
Microprogram Control Anuj Modi
 
Processor Organization
Processor OrganizationProcessor Organization
Processor OrganizationDominik Salvet
 
Micro Programmed Control Unit
Micro Programmed Control UnitMicro Programmed Control Unit
Micro Programmed Control UnitKamal Acharya
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architectureFaisal Hussain
 
Computer architecture
Computer architectureComputer architecture
Computer architectureZuhaib Zaroon
 
General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)rishi ram khanal
 
Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)Sandesh Jonchhe
 
Unit 3-pipelining & vector processing
Unit 3-pipelining & vector processingUnit 3-pipelining & vector processing
Unit 3-pipelining & vector processingvishal choudhary
 
Modes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output OrganizationModes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output OrganizationMOHIT AGARWAL
 
Dma transfer
Dma transferDma transfer
Dma transfergmnithya
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memoryDeepak John
 
Computer instructions
Computer instructionsComputer instructions
Computer instructionsAnuj Modi
 

What's hot (20)

Processor organization & register organization
Processor organization & register organizationProcessor organization & register organization
Processor organization & register organization
 
Timing and-control-unit
Timing and-control-unitTiming and-control-unit
Timing and-control-unit
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
 
instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle ppt
 
Memory Reference Instructions
Memory Reference InstructionsMemory Reference Instructions
Memory Reference Instructions
 
Microprogram Control
Microprogram Control Microprogram Control
Microprogram Control
 
Processor Organization
Processor OrganizationProcessor Organization
Processor Organization
 
Micro Programmed Control Unit
Micro Programmed Control UnitMicro Programmed Control Unit
Micro Programmed Control Unit
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)
 
Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)
 
Unit 3-pipelining & vector processing
Unit 3-pipelining & vector processingUnit 3-pipelining & vector processing
Unit 3-pipelining & vector processing
 
Control unit
Control unitControl unit
Control unit
 
memory hierarchy
memory hierarchymemory hierarchy
memory hierarchy
 
Modes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output OrganizationModes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output Organization
 
Dma transfer
Dma transferDma transfer
Dma transfer
 
Interrupts ppt
Interrupts pptInterrupts ppt
Interrupts ppt
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
 
Computer instructions
Computer instructionsComputer instructions
Computer instructions
 

Viewers also liked

Micro programmed control
Micro programmed  controlMicro programmed  control
Micro programmed controlShashank Singh
 
BLOCK DIAGRAM OF HARDWIRED CONTROL UNIT
BLOCK DIAGRAM OF HARDWIRED CONTROL UNITBLOCK DIAGRAM OF HARDWIRED CONTROL UNIT
BLOCK DIAGRAM OF HARDWIRED CONTROL UNITRahul Sharma
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and DesignKamal Acharya
 
The evolution of computers
The evolution of computersThe evolution of computers
The evolution of computerswenz-pro
 
Timing and control unit
Timing and control unitTiming and control unit
Timing and control unitDestro Destro
 
Understanding pixel
Understanding pixelUnderstanding pixel
Understanding pixelIzaz Ansari
 
Precessor organization
Precessor organizationPrecessor organization
Precessor organizationAsif Iqbal
 
Bits, Mapa de Bits y Píxel
Bits, Mapa de Bits y PíxelBits, Mapa de Bits y Píxel
Bits, Mapa de Bits y PíxelAriana Noriega
 
Unit 1 basic structure of computers
Unit 1   basic structure of computersUnit 1   basic structure of computers
Unit 1 basic structure of computerschidabdu
 
Google Pixel - Phone by Google.
Google Pixel - Phone by Google.Google Pixel - Phone by Google.
Google Pixel - Phone by Google.techugo
 
13. Computer Systems Input And Output Architecture
13. Computer Systems   Input And  Output Architecture13. Computer Systems   Input And  Output Architecture
13. Computer Systems Input And Output ArchitectureNew Era University
 

Viewers also liked (19)

Hardwired control
Hardwired controlHardwired control
Hardwired control
 
Micro programmed control
Micro programmed  controlMicro programmed  control
Micro programmed control
 
BLOCK DIAGRAM OF HARDWIRED CONTROL UNIT
BLOCK DIAGRAM OF HARDWIRED CONTROL UNITBLOCK DIAGRAM OF HARDWIRED CONTROL UNIT
BLOCK DIAGRAM OF HARDWIRED CONTROL UNIT
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
 
Ch7 official
Ch7 officialCh7 official
Ch7 official
 
Micro program
Micro programMicro program
Micro program
 
The evolution of computers
The evolution of computersThe evolution of computers
The evolution of computers
 
Micro programmed control
Micro programmed controlMicro programmed control
Micro programmed control
 
CO By Rakesh Roshan
CO By Rakesh RoshanCO By Rakesh Roshan
CO By Rakesh Roshan
 
Timing and control unit
Timing and control unitTiming and control unit
Timing and control unit
 
Understanding pixel
Understanding pixelUnderstanding pixel
Understanding pixel
 
Precessor organization
Precessor organizationPrecessor organization
Precessor organization
 
Bits, Mapa de Bits y Píxel
Bits, Mapa de Bits y PíxelBits, Mapa de Bits y Píxel
Bits, Mapa de Bits y Píxel
 
Unit 1 basic structure of computers
Unit 1   basic structure of computersUnit 1   basic structure of computers
Unit 1 basic structure of computers
 
Google Pixel - Phone by Google.
Google Pixel - Phone by Google.Google Pixel - Phone by Google.
Google Pixel - Phone by Google.
 
13. Computer Systems Input And Output Architecture
13. Computer Systems   Input And  Output Architecture13. Computer Systems   Input And  Output Architecture
13. Computer Systems Input And Output Architecture
 
Control unit design
Control unit designControl unit design
Control unit design
 
ALU
ALUALU
ALU
 
Pixel
PixelPixel
Pixel
 

Similar to Control unit

Chap2 comp architecture
Chap2 comp architectureChap2 comp architecture
Chap2 comp architectureraksharao
 
COMPUTER_ORGANIZATION (1).pptx
COMPUTER_ORGANIZATION (1).pptxCOMPUTER_ORGANIZATION (1).pptx
COMPUTER_ORGANIZATION (1).pptxnodov66591
 
Components Of Computer unit-2
Components Of Computer  unit-2Components Of Computer  unit-2
Components Of Computer unit-2Amit Chandra
 
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptxCOMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptxPannaBushratul
 
Computer Organization (1).pdf
Computer Organization (1).pdfComputer Organization (1).pdf
Computer Organization (1).pdfmysthicrious
 
COMPUTER_ORGANIZATION.ppt
COMPUTER_ORGANIZATION.pptCOMPUTER_ORGANIZATION.ppt
COMPUTER_ORGANIZATION.pptAtul Kumar Rana
 
In the heart of computers
In the heart of computersIn the heart of computers
In the heart of computersCintia Santos
 
Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data RepresentationNaruin
 
Hcs Topic 2 Computer Structure V2
Hcs Topic 2  Computer Structure V2Hcs Topic 2  Computer Structure V2
Hcs Topic 2 Computer Structure V2ekul
 
Hcs Topic 2 Computer Structure V2
Hcs Topic 2  Computer Structure V2Hcs Topic 2  Computer Structure V2
Hcs Topic 2 Computer Structure V2Kyle
 
Hcs Topic 2 Computer Structure V2
Hcs Topic 2  Computer Structure V2Hcs Topic 2  Computer Structure V2
Hcs Topic 2 Computer Structure V2Naruin
 
Comp App Lect 2 System Unit.pptx
Comp App Lect 2 System Unit.pptxComp App Lect 2 System Unit.pptx
Comp App Lect 2 System Unit.pptxMehwishKanwal14
 
Components of computer hardware
Components of computer hardwareComponents of computer hardware
Components of computer hardwareA. S. M. Shafi
 
Computer organisation and architecture module 1
Computer organisation and architecture module 1Computer organisation and architecture module 1
Computer organisation and architecture module 1abinrj123
 
3160712_MPI_GTU_Study_Material_e-Notes_Introduction-to-Microprocessor_1305202...
3160712_MPI_GTU_Study_Material_e-Notes_Introduction-to-Microprocessor_1305202...3160712_MPI_GTU_Study_Material_e-Notes_Introduction-to-Microprocessor_1305202...
3160712_MPI_GTU_Study_Material_e-Notes_Introduction-to-Microprocessor_1305202...ssuserecee86
 
Basic Organisation and fundamental Of Computer.pptx
Basic Organisation and fundamental Of Computer.pptxBasic Organisation and fundamental Of Computer.pptx
Basic Organisation and fundamental Of Computer.pptxhasanbashar400
 

Similar to Control unit (20)

Chap2 comp architecture
Chap2 comp architectureChap2 comp architecture
Chap2 comp architecture
 
Processing Devices
Processing DevicesProcessing Devices
Processing Devices
 
COMPUTER_ORGANIZATION (1).pptx
COMPUTER_ORGANIZATION (1).pptxCOMPUTER_ORGANIZATION (1).pptx
COMPUTER_ORGANIZATION (1).pptx
 
CPU.pptx
CPU.pptxCPU.pptx
CPU.pptx
 
Components Of Computer unit-2
Components Of Computer  unit-2Components Of Computer  unit-2
Components Of Computer unit-2
 
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptxCOMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
 
Computer Organization (1).pdf
Computer Organization (1).pdfComputer Organization (1).pdf
Computer Organization (1).pdf
 
COMPUTER_ORGANIZATION.ppt
COMPUTER_ORGANIZATION.pptCOMPUTER_ORGANIZATION.ppt
COMPUTER_ORGANIZATION.ppt
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
In the heart of computers
In the heart of computersIn the heart of computers
In the heart of computers
 
Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representation
 
Hcs Topic 2 Computer Structure V2
Hcs Topic 2  Computer Structure V2Hcs Topic 2  Computer Structure V2
Hcs Topic 2 Computer Structure V2
 
Hcs Topic 2 Computer Structure V2
Hcs Topic 2  Computer Structure V2Hcs Topic 2  Computer Structure V2
Hcs Topic 2 Computer Structure V2
 
Hcs Topic 2 Computer Structure V2
Hcs Topic 2  Computer Structure V2Hcs Topic 2  Computer Structure V2
Hcs Topic 2 Computer Structure V2
 
Comp App Lect 2 System Unit.pptx
Comp App Lect 2 System Unit.pptxComp App Lect 2 System Unit.pptx
Comp App Lect 2 System Unit.pptx
 
Cpu
CpuCpu
Cpu
 
Components of computer hardware
Components of computer hardwareComponents of computer hardware
Components of computer hardware
 
Computer organisation and architecture module 1
Computer organisation and architecture module 1Computer organisation and architecture module 1
Computer organisation and architecture module 1
 
3160712_MPI_GTU_Study_Material_e-Notes_Introduction-to-Microprocessor_1305202...
3160712_MPI_GTU_Study_Material_e-Notes_Introduction-to-Microprocessor_1305202...3160712_MPI_GTU_Study_Material_e-Notes_Introduction-to-Microprocessor_1305202...
3160712_MPI_GTU_Study_Material_e-Notes_Introduction-to-Microprocessor_1305202...
 
Basic Organisation and fundamental Of Computer.pptx
Basic Organisation and fundamental Of Computer.pptxBasic Organisation and fundamental Of Computer.pptx
Basic Organisation and fundamental Of Computer.pptx
 

More from Sameer Patil

More from Sameer Patil (6)

Android
AndroidAndroid
Android
 
Exceptions in java
Exceptions in javaExceptions in java
Exceptions in java
 
Social media for business
Social media for businessSocial media for business
Social media for business
 
Web security
Web securityWeb security
Web security
 
Ecommerce
EcommerceEcommerce
Ecommerce
 
Cms
CmsCms
Cms
 

Recently uploaded

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 

Recently uploaded (20)

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 

Control unit

  • 2. Topic Cover Structure of the Control Unit  Functioning of the Control Unit, Microprogrammed control
  • 3. Control Unit CPU have two basic components Control Unit and ALU The control unit of CPU Select the interprets program instruction and then coordinate their execution. The Control Unit does not perform any actual processing of data, it acts as the central nervous System for other component of computer. It manages and coordinate the entire computer system including its input and out put unit . It obtain instruction from the program stored in main memory, Interprets the instruction and issues signal that cause other unit of system to executes them .
  • 4. A control unit works by receiving input information that it converts into control signals, which are then sent to the central processor.  The computer's processor then tells the attached hardware what operations carry out. The functions a control unit performs depend on the type of CPU, due to the variance of architecture between different manufacturers. The following diagram illustrates how instructions from a program are processed. 
  • 5.
  • 6.  CPU performs all types of data processing operations.  It stores data, intermediate results and instructions(program).  It controls the operation of all parts of computer.  This unit controls the operations of all parts of computer but does not carry out any actual data processing operations.  Functions :-Functions of this unit are:  It is responsible for controlling the transfer of data and instructions among other units of a computer.  It manages and coordinates all the units of the computer.  It obtains the instructions from the memory, interprets them, and directs the operation of the computer.  It communicates with Input/Output devices for transfer of data or results from storage.  It does not process or store data. 
  • 7. The control unit is arguably the most complicated part of this model CPU, and is responsible for controlling much of the operation of the rest of the processor. It does this by issuing control signals to the other areas of the processor, instructing them on what should be performed next. As such, the three main elements of the control unit are as follows: Decoder This is used to decode the instructions that make up a program when they are being processed, and to determine in what actions must be taken in order to process them. These decisions are normally taken by looking at the opcode of the instruction, together with the addressing mode used. Timer or clock The timer or clock ensures that all processes and instructions are carried out and completed at the right time. Pulses are sent to the other areas of the CPU at regular intervals (related to the processor clock speed), and actions only occur when a pulse is detected. This ensures that the actions themselves also occur at these same regular intervals, meaning that the operations of the CPU are synchronised.
  • 8. Control logic circuits The control logic circuits are used to create the control signals themselves, which are then sent around the processor. These signals inform the arithmetic and logic unit and the register array what they actions and steps they should be performing, what data they should be using to perform said actions, and what should be done with the results.
  • 9.
  • 10.  A register is a memory location within the CPU itself, designed to be quickly accessed for purposes of fast data retrieval. Processors normally contain a register array, which houses many such registers. These contain instructions, data and other values that may need to be quickly accessed during the execution of a program.Many different types of registers are common between most microprocessor designs. These are:  Program Counter (PC) This register is used to hold the memory address of the next instruction that has to executed in a program. This is to ensure the CPU knows at all times where it has reached, that is able to resume following an execution at the correct point, and that the program is executed correctly.  Instruction Register (IR) This is used to hold the current instruction in the processor while it is being decoded and executed, in order for the speed of the whole execution process to be reduced. This is because the time needed to access the instruction register is much less than continual checking of the memory
  • 11.  Accumulator (A, or ACC) The accumulator is used to hold the result of operations performed by the arithmetic and logic unit, as covered in the section on the ALU.  Memory Address Register (MAR) Used for storage of memory addresses, usually the addresses involved in the instructions held in the instruction register. The control unit then checks this register when needing to know which memory address to check or obtain data from.  Memory Buffer Register (MBR) When an instruction or data is obtained from the memory or elsewhere, it is first placed in the memory buffer register. The next action to take is then determined and carried out, and the data is moved on to the desired location.  Flag register / status flags The flag register is specially designed to contain all the appropriate 1-bit status flags, which are changed as a result of operations involving the arithmetic and logic unit. Further information can be found in the section on the ALU.  Other general purpose registers These registers have no specific purpose, but are generally used for the quick storage of pieces of data that are required later in the program execution.
  • 12.  The system bus is a cable which carries data communication between the major components of the computer, including the microprocessor.  The system bus consists of three different groups of wiring, called the data bus, control bus and address bus. These all have seperate responsibilities and characteristics, which can be outlined as follows:  Control Bus The control bus carries the signals relating to the control and co-ordination of the various activities across the computer, which can be sent from the control unit within the CPU. Different architectures result in differing number of lines of wire within the control bus, as each line is used to perform a specific task. For instance, different, specific lines are used for each of read, write and reset requests.  Data Bus This is used for the exchange of data between the processor, memory and peripherals, and is bi- directional so that it allows data flow in both directions along the wires. Again, the number of wires used in the data bus (sometimes known as the 'width') can differ. Each wire is used for the transfer of signals corresponding to a single bit of binary data. As such, a greater width allows greater amounts of data to be transferred at the same time.  Address Bus The address bus contains the connections between the microprocessor and memory that carry the signals relating to the addresses which the CPU is processing at that time, such as the locations that the CPU is reading from or writing to. The width of the address bus corresponds to the maximum addressing capacity of the bus, or the largest address within memory that the bus can work with. The addresses are transferred in binary format, with each line of the address bus carrying a single binary digit. Therefore the maximum address capacity is equal to two to the power of the number of lines present (2^lines). 