SlideShare a Scribd company logo
1 of 27
Microprogrammed Control Unit
•Control Memory
•Sequencing Microinstructions
•Microprogram Example
•Design of Control Unit
•Microinstruction Format
Control UnitControl Unit
 The control information is stored in a control memory, and the control
memory is programmed to initiate the required sequence of
microoperations
 +Any required change can be done by updating the microprogram
incontrol memory.
 -Slow operation
 The control logic is implemented with gates, F/Fs, decoders, andother
digital circuits
 + Fast operation.
 -Wiring change(if the design has to be modified)
»Microprogrammed Control : in this Chapter
»Hardwired Control : in Chap. 5
groups of bits that select the paths in multiplexers, decoders, and
arithmetic logic units
Control signal (that specify microoperations)in a bus-organized system
• Two major types of Control Unit
• Initiate sequences of microoperations
Control WordControl Word
The control variables at any given time can be represented by a string
of 1’s and 0’s.
A control unit whose binary control variables are stored in memory
(control memory).
Microprogrammed Control UnitMicroprogrammed Control Unit
MicroinstructionMicroinstruction
MicroprogramMicroprogram
The microinstruction specifies one or more microoperations
A sequence of microinstruction
RAM can be used for writing (to change a writable control
memory)
Microprogram is loaded initially from an auxiliary memory such
as a magnetic disk
Control words in ROM are made permanent during the
hardware production.
»Dynamic microprogramming :Control Memory =RAM
»Static microprogramming : Control Memory =ROM
Microprogrammed Control OrganizationMicroprogrammed Control Organization
Next-address
generator
(sequencer)
Control
address
register
Control
memory
(ROM)
Control
data
register
Control
word
Next-address information
External
input
Control Memory
»A memory is part of a control unit :
»Computer Memory (employs a microprogrammed control unit)
•Main Memory : for storing user program (Machine instruction/data)
•Control Memory : for storing microprogram (Microinstruction)
Control Address Register
Sequencer
Control data register
»Specify the address of the microinstruction
»Determine the address sequence that is read from control
memory
»Next address of the next microinstruction can be specified several
way depending on the sequencer input.
»Hold the microinstruction read from control memory
»Allows the execution of the microoperations specified by the
control word simultaneously with the generation of the next
microinstruction
1. Incrementing of the control address register
2. Unconditional and conditional branches
3. A mapping process from the bits of the machine instruction
to an address for control memory
4. A facility for subroutine call and return
Sequencing Capabilities Required in a Control Storage
Selection of address for control memorySelection of address for control memory
Conditional BranchingConditional Branching
Mapping of Instructions
Mapping of Instructions to Microroutines
Microprogram Example
Machine Instruction Format
Symbolic Microinstructions
Symbolic Microprogram- Fetch routine
Symbolic Microprogram- Indirect routine
Symbolic Microprogram
Binary Microprogram
Design of control unit
Microprogram Sequencer
Microprogram Sequencer
Ch7 official
Ch7 official
Ch7 official

More Related Content

What's hot

Control Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unitControl Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unitabdosaidgkv
 
Counters & time delay
Counters & time delayCounters & time delay
Counters & time delayHemant Chetwani
 
ARM Architecture Instruction Set
ARM Architecture Instruction SetARM Architecture Instruction Set
ARM Architecture Instruction SetDwight Sabio
 
ARM architcture
ARM architcture ARM architcture
ARM architcture Hossam Adel
 
Comparision between Core i3,i5,i7,i9
Comparision between Core i3,i5,i7,i9 Comparision between Core i3,i5,i7,i9
Comparision between Core i3,i5,i7,i9 ShriyaGautam3
 
Unit II Study of Onchip Peripherals
Unit II Study of Onchip PeripheralsUnit II Study of Onchip Peripherals
Unit II Study of Onchip PeripheralsDr. Pankaj Zope
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Subhasis Dash
 
Microprocessor 80386
Microprocessor 80386Microprocessor 80386
Microprocessor 80386yash sawarkar
 
Micro programmed control
Micro programmed  controlMicro programmed  control
Micro programmed controlShashank Singh
 
RISC - Reduced Instruction Set Computing
RISC - Reduced Instruction Set ComputingRISC - Reduced Instruction Set Computing
RISC - Reduced Instruction Set ComputingTushar Swami
 

What's hot (20)

06. thumb instructions
06. thumb instructions06. thumb instructions
06. thumb instructions
 
Control Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unitControl Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unit
 
Counters & time delay
Counters & time delayCounters & time delay
Counters & time delay
 
Unit 2 mpmc
Unit 2 mpmcUnit 2 mpmc
Unit 2 mpmc
 
ARM Architecture Instruction Set
ARM Architecture Instruction SetARM Architecture Instruction Set
ARM Architecture Instruction Set
 
ARM architcture
ARM architcture ARM architcture
ARM architcture
 
Comparision between Core i3,i5,i7,i9
Comparision between Core i3,i5,i7,i9 Comparision between Core i3,i5,i7,i9
Comparision between Core i3,i5,i7,i9
 
microprocessor
 microprocessor microprocessor
microprocessor
 
Processors selection
Processors selectionProcessors selection
Processors selection
 
Multicore Processor Technology
Multicore Processor TechnologyMulticore Processor Technology
Multicore Processor Technology
 
Unit II Study of Onchip Peripherals
Unit II Study of Onchip PeripheralsUnit II Study of Onchip Peripherals
Unit II Study of Onchip Peripherals
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
 
8086 microprocessor lab manual
8086 microprocessor lab manual8086 microprocessor lab manual
8086 microprocessor lab manual
 
Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control Unit
 
ARM- Programmer's Model
ARM- Programmer's ModelARM- Programmer's Model
ARM- Programmer's Model
 
Stack
StackStack
Stack
 
ARM Architecture
ARM ArchitectureARM Architecture
ARM Architecture
 
Microprocessor 80386
Microprocessor 80386Microprocessor 80386
Microprocessor 80386
 
Micro programmed control
Micro programmed  controlMicro programmed  control
Micro programmed control
 
RISC - Reduced Instruction Set Computing
RISC - Reduced Instruction Set ComputingRISC - Reduced Instruction Set Computing
RISC - Reduced Instruction Set Computing
 

Viewers also liked

Microprogram Control
Microprogram Control Microprogram Control
Microprogram Control Anuj Modi
 
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 programming and micro programmed control
basic computer programming and micro programmed controlbasic computer programming and micro programmed control
basic computer programming and micro programmed controlRai University
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and DesignKamal Acharya
 
Micro Programmed Control Unit
Micro Programmed Control UnitMicro Programmed Control Unit
Micro Programmed Control UnitKamal Acharya
 

Viewers also liked (10)

Micro program
Micro programMicro program
Micro program
 
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
 
Hardwired control
Hardwired controlHardwired control
Hardwired control
 
Microprogram Control
Microprogram Control Microprogram Control
Microprogram 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 programming and micro programmed control
basic computer programming and micro programmed controlbasic computer programming and micro programmed control
basic computer programming and micro programmed control
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
 
Control unit
Control  unitControl  unit
Control unit
 
Micro Programmed Control Unit
Micro Programmed Control UnitMicro Programmed Control Unit
Micro Programmed Control Unit
 

Similar to Ch7 official

3 4- computer organization and archietecture- COA- CO- Computer organization
3 4- computer organization and archietecture- COA- CO- Computer organization3 4- computer organization and archietecture- COA- CO- Computer organization
3 4- computer organization and archietecture- COA- CO- Computer organizationJay Patel
 
CS304PC:Computer Organization and Architecture Session 7 Microprogrammed con...
CS304PC:Computer Organization and Architecture  Session 7 Microprogrammed con...CS304PC:Computer Organization and Architecture  Session 7 Microprogrammed con...
CS304PC:Computer Organization and Architecture Session 7 Microprogrammed con...Asst.prof M.Gokilavani
 
CS304PC:Computer Organization and Architecture UNIT II .pdf
CS304PC:Computer Organization and Architecture UNIT II .pdfCS304PC:Computer Organization and Architecture UNIT II .pdf
CS304PC:Computer Organization and Architecture UNIT II .pdfAsst.prof M.Gokilavani
 
Design of control unit.pptx
Design of control unit.pptxDesign of control unit.pptx
Design of control unit.pptxShubham014
 
Microarchitecture
MicroarchitectureMicroarchitecture
Microarchitecturemeashi
 
Control unit design
Control unit designControl unit design
Control unit designDhaval Bagal
 
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnnchapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnnNineTo1
 
15 control-computer organization and archietecture-CO-COA
15 control-computer organization and archietecture-CO-COA15 control-computer organization and archietecture-CO-COA
15 control-computer organization and archietecture-CO-COAJay Patel
 
conrol_Unit_part_of_computer_architecture.pptx
conrol_Unit_part_of_computer_architecture.pptxconrol_Unit_part_of_computer_architecture.pptx
conrol_Unit_part_of_computer_architecture.pptxjbri1395
 
Unit 3. control unit
Unit 3. control unitUnit 3. control unit
Unit 3. control unitKiran Bagale
 
computer architecture
computer architecturecomputer architecture
computer architecturePandiya Rajan
 
Introduction to microcontrollers
Introduction to microcontrollersIntroduction to microcontrollers
Introduction to microcontrollersEdwardOmondi4
 

Similar to Ch7 official (20)

3 4- computer organization and archietecture- COA- CO- Computer organization
3 4- computer organization and archietecture- COA- CO- Computer organization3 4- computer organization and archietecture- COA- CO- Computer organization
3 4- computer organization and archietecture- COA- CO- Computer organization
 
Unit 3 CO.pptx
Unit 3 CO.pptxUnit 3 CO.pptx
Unit 3 CO.pptx
 
CS304PC:Computer Organization and Architecture Session 7 Microprogrammed con...
CS304PC:Computer Organization and Architecture  Session 7 Microprogrammed con...CS304PC:Computer Organization and Architecture  Session 7 Microprogrammed con...
CS304PC:Computer Organization and Architecture Session 7 Microprogrammed con...
 
CS304PC:Computer Organization and Architecture UNIT II .pdf
CS304PC:Computer Organization and Architecture UNIT II .pdfCS304PC:Computer Organization and Architecture UNIT II .pdf
CS304PC:Computer Organization and Architecture UNIT II .pdf
 
Design of control unit.pptx
Design of control unit.pptxDesign of control unit.pptx
Design of control unit.pptx
 
Control Memory.pptx
Control Memory.pptxControl Memory.pptx
Control Memory.pptx
 
Microarchitecture
MicroarchitectureMicroarchitecture
Microarchitecture
 
Control unit design
Control unit designControl unit design
Control unit design
 
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnnchapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
 
unit-3.pdf
unit-3.pdfunit-3.pdf
unit-3.pdf
 
Unit 2
Unit 2Unit 2
Unit 2
 
Unit 2
Unit 2Unit 2
Unit 2
 
15 control-computer organization and archietecture-CO-COA
15 control-computer organization and archietecture-CO-COA15 control-computer organization and archietecture-CO-COA
15 control-computer organization and archietecture-CO-COA
 
conrol_Unit_part_of_computer_architecture.pptx
conrol_Unit_part_of_computer_architecture.pptxconrol_Unit_part_of_computer_architecture.pptx
conrol_Unit_part_of_computer_architecture.pptx
 
Unit 3. control unit
Unit 3. control unitUnit 3. control unit
Unit 3. control unit
 
CPU Architecture
CPU ArchitectureCPU Architecture
CPU Architecture
 
Addressing sequencing
Addressing sequencingAddressing sequencing
Addressing sequencing
 
Control Memory
Control MemoryControl Memory
Control Memory
 
computer architecture
computer architecturecomputer architecture
computer architecture
 
Introduction to microcontrollers
Introduction to microcontrollersIntroduction to microcontrollers
Introduction to microcontrollers
 

Ch7 official

  • 1. Microprogrammed Control Unit •Control Memory •Sequencing Microinstructions •Microprogram Example •Design of Control Unit •Microinstruction Format
  • 2. Control UnitControl Unit  The control information is stored in a control memory, and the control memory is programmed to initiate the required sequence of microoperations  +Any required change can be done by updating the microprogram incontrol memory.  -Slow operation  The control logic is implemented with gates, F/Fs, decoders, andother digital circuits  + Fast operation.  -Wiring change(if the design has to be modified) »Microprogrammed Control : in this Chapter »Hardwired Control : in Chap. 5 groups of bits that select the paths in multiplexers, decoders, and arithmetic logic units Control signal (that specify microoperations)in a bus-organized system • Two major types of Control Unit • Initiate sequences of microoperations
  • 3. Control WordControl Word The control variables at any given time can be represented by a string of 1’s and 0’s. A control unit whose binary control variables are stored in memory (control memory). Microprogrammed Control UnitMicroprogrammed Control Unit MicroinstructionMicroinstruction MicroprogramMicroprogram The microinstruction specifies one or more microoperations A sequence of microinstruction RAM can be used for writing (to change a writable control memory) Microprogram is loaded initially from an auxiliary memory such as a magnetic disk Control words in ROM are made permanent during the hardware production. »Dynamic microprogramming :Control Memory =RAM »Static microprogramming : Control Memory =ROM
  • 4. Microprogrammed Control OrganizationMicroprogrammed Control Organization Next-address generator (sequencer) Control address register Control memory (ROM) Control data register Control word Next-address information External input Control Memory »A memory is part of a control unit : »Computer Memory (employs a microprogrammed control unit) •Main Memory : for storing user program (Machine instruction/data) •Control Memory : for storing microprogram (Microinstruction)
  • 5. Control Address Register Sequencer Control data register »Specify the address of the microinstruction »Determine the address sequence that is read from control memory »Next address of the next microinstruction can be specified several way depending on the sequencer input. »Hold the microinstruction read from control memory »Allows the execution of the microoperations specified by the control word simultaneously with the generation of the next microinstruction 1. Incrementing of the control address register 2. Unconditional and conditional branches 3. A mapping process from the bits of the machine instruction to an address for control memory 4. A facility for subroutine call and return Sequencing Capabilities Required in a Control Storage
  • 6. Selection of address for control memorySelection of address for control memory
  • 7.
  • 10. Mapping of Instructions to Microroutines
  • 13.
  • 14.
  • 22.
  • 23.