SlideShare a Scribd company logo
2
Most read
3
Most read
14
Most read
COMPUTER
ARCHITECTURE - I
PRESENTERS :
KAVINAYA S 17Z221
PREETHI S V 17Z231
SAMYUKTHA G 17Z238
SIVAKAMI N 17Z245
VARSHA DEVI K 17Z256
TEJASWINI SIVAKUMAR 17Z253
CONTROL UNIT
 Control unit generates timing and control signals for the operations of the
computer.
 It’s the part of the CPU that initiates sequences of microoperations.
 It tells the computer’s memory, arithmetic & logic unit and input/output
devices how to respond to a program’s instructions.
TYPES :
There are two methods to implement the control unit:
 Hardwired Control Unit (uses fixes instructions, combinational logic units
of AND/OR (logic gates), encoders, decoders, etc.)
 Microprogrammed Control Unit (the logic of the control unit is specified
by microprograms (consists of a sequence of instructions that specify
microoperations).
Microprogrammed Control Unit
IMPORTANT TERMS
Control unit initiates a series of sequential steps of microoperations.
 CONTROL WORD :
- The control variables at any time are represented by 1’s and 0’s, known as
Control Word.
- Control words can be programmed to perform various operations.
 MICROPROGRAMMED CONTROL UNIT :
- A control unit whose binary control variables are stored in the memory is
called MICROPROGRAMMED CONTROL UNIT.
 MICROINSTRUCTIONS :
- Each word in the control memory contains microinstructions .
- It specifies one or more microoperations for the system.
MICROPROGRAM
 MICROPROGRAM :
- Sequence of microinstructions constitutes a microprogram.
- The microprogram controls the function of the CPU.
- Alterations in microprograms are not needed once the control unit is in
operation. The control memory can be read-only memory (ROM).
- The Contents of words in ROM are fixed and cannot be altered, since there is
no writing capacity in ROM.
 DYNAMIC MICROPROGRAMMING :
- microprogram is loaded initially from an auxiliary memory (secondary memory),
such as magnetic disk.
- employs a writable control memory which allows the user to change the
microprogram, though it is mostly used for reading.
TYPES OF MEMORY IN MPC
1. MAIN MEMORY
 The main memory is used for storing programs. The content of the main memory can be
altered when data is manipulated and each time the program is changed.
 Program in main memory contains machine instructions and data.
2. CONTROL MEMORY
 Memory that is a part of the control unit is called Control memory.
 Control memory holds microprograms that cannot be altered by the user. The
microprogram consists of microinstructions to execute register microoperations.
 Machine instruction initiates a series of microinstructions in the control memory.
 The microinstruction generates microoperations to fetch instructions from main memory, to
evaluate effective address, to execute the operations specified by instructions or to repeat
the cycle for the next instruction.
CONFIGURATION
The general configuration of microprogrammed control unit is
demonstrated as follows:
(ROM)
SEQUENCER AND PIPELINE
REGISTER
 SEQUENCER:
The next address generator is called a sequencer, as it determines the
address sequence that is read from the control memory.
 FUNCTIONS:
1. Incrementing the control register
2. Loading an address from control memory to CAR.
3. Loading an initial address
 PIPELINE REGISTER :
The control data register holds the present microinstruction while the next
address is computed and read from the memory. This data register is called
pipeline register.
 IMPORTANT ADVANTAGE OF MICROPROGRAMMED CONTROL :
No hardware or wiring changes is required.
SELECTION OF ADDRESS
FOR CONTROL MEMORY
ADDRESS SEQUENCING
 Micro instructions are stored in control memory in group with each group
specifying a routine.
 An initial address is loaded into the control address register when power is
turned on. The fetch routine may be sqenced by incrementing CAR. At
end of fetch routine instructions is in IR .
 The effective address computation routine in control memory can be
reached through branch micro instructions which is conditioned on status
mode bits of instructions.
 The micro operations steps to be generated in processor register depend
on opcode of instruction.
 Subroutine will require an external register for storing return address.
Return address cannot be stored in ROM because it has no writing
capability.
ADDRESS SEQUENCING
 The micro instructions in control memory contains a set of bits to initiate
micro operations in registers and other bits to specify method by which
next address is obtained.
 The diagram shows four different paths from which the CAR receives the
address.
 The incrementer increments the CAR content by one.
 Branching is achieved by specifying branch address in one of the fields of
micro instructions.
 Conditional branching is obtained by status bit in order to determine it's
condition.
 The return address for a sub routine is stored in special register (SBR)
whose value is then used when microprogram wishes to return from the
subroutine.
STEPS IN SELECTION OF ADDRESS
 CONDITIONAL BRANCHING
- branching from one routine to another depending on status bit
conditions
- status bits provide parameter information.
- information in status bits are tested and actions are initiated based on
their conditions:1or0
 UNCONDITIONAL BRANCH
- fix value of status bit to 1
 SUBROUTINES
- A set of common instructions that can be used in a program many
times
- Each time a subroutine is used in main program, a branch is made to
the beginning of subroutine
MAPPING OF INSTRUCTION
 Each computer instruction
has its own microprogram
 Routine stored in a given
location of the control
memory
 MAPPING :
- transformation from
instruction code bits to
microinstruction address in
control memory where routine is
located.
COMPUTER HARDWARE
CONFIGURATION
MICROPROGRAM
EXAMPLE:
 Two memory units: Main
memory, control memory.
- CONTROL MEMORY :
 4 registers are associated
with processor unit
(PC,AR,DR,AC)
 2 registers are associated
with the control unit
(CAR,SBR)
MICROINSTRUCTION CODE
FORMAT – 20 BITS
SYMBOLS & BINARY CODE – I
F1,F2,F3
SYMBOLS & BINARY CODE –
II
CD,BR
SYMBOLIC MICROPROGRAM
BINARY MICROPROGRAM
Microprogrammed Control Unit

More Related Content

PPTX
Instruction Set Architecture
PPT
Microprogram Control
PPTX
Basic Computer Organization and Design
PPTX
Computer architecture control unit
PPTX
Register transfer language
DOCX
Control Units : Microprogrammed and Hardwired:control unit
PPTX
Computer instruction
PPTX
Control unit
Instruction Set Architecture
Microprogram Control
Basic Computer Organization and Design
Computer architecture control unit
Register transfer language
Control Units : Microprogrammed and Hardwired:control unit
Computer instruction
Control unit

What's hot (20)

PPTX
Micro program example
PPTX
Logical and shift micro operations
PPTX
Addressing sequencing
PPTX
Input Output Organization
PPT
Program control
PPTX
Arithmetic micro operations
PPTX
bus and memory tranfer (computer organaization)
PPTX
ADDRESSING MODES
PPTX
General register organization (computer organization)
PPTX
Instruction codes
PPTX
Register transfer and micro-operation
PPS
Cache memory
PDF
8086 memory segmentation
PPTX
Register Reference Instructions | Computer Science
PPTX
3.programmable interrupt controller 8259
PPTX
Memory organization in computer architecture
PPT
Computer architecture pipelining
PPTX
Assembly language
PPTX
Micro Programmed Control Unit
PPTX
Interrupts and types of interrupts
Micro program example
Logical and shift micro operations
Addressing sequencing
Input Output Organization
Program control
Arithmetic micro operations
bus and memory tranfer (computer organaization)
ADDRESSING MODES
General register organization (computer organization)
Instruction codes
Register transfer and micro-operation
Cache memory
8086 memory segmentation
Register Reference Instructions | Computer Science
3.programmable interrupt controller 8259
Memory organization in computer architecture
Computer architecture pipelining
Assembly language
Micro Programmed Control Unit
Interrupts and types of interrupts
Ad

Similar to Microprogrammed Control Unit (20)

PPTX
Unit 3 CO.pptx
PPTX
Whitepaper proposal presentation _pre.pptx
PPTX
CS304PC:Computer Organization and Architecture Session 7 Microprogrammed con...
PPTX
Microprogrammed_control presentation.pptx
PPT
Computer Architecture By Beenish lecture 6.ppt
PPTX
COA 2.1 Microprogrammed control systems of btech 2nd year students.pptx
PPTX
Microprogrammed of organisation and architecture of computer.pptx
PPT
Computer_Architecture_3rd_Edition_by_Moris_Mano_Ch_07.ppt
PPT
Ch7 official
PPT
Ch7 official=computer organization and archietectur- CO-COA
PPTX
COMPUTER SYSTEM ARCHITECTURE UNIT 3 FULL SLIDES
PDF
CS304PC:Computer Organization and Architecture UNIT II .pdf
PPT
Bca 2nd sem-u-3.2-basic computer programming and micro programmed control
PPT
B.sc cs-ii-u-3.2-basic computer programming and micro programmed control
PDF
unit-3.pdf
PPTX
MICROPROGRAMMEDCONTROL-3.pptx
PPT
Chapter 7 of Computer system and architecture
PPTX
Micro programmed control
PPTX
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
PPTX
Unit 3 CO.pptx
Whitepaper proposal presentation _pre.pptx
CS304PC:Computer Organization and Architecture Session 7 Microprogrammed con...
Microprogrammed_control presentation.pptx
Computer Architecture By Beenish lecture 6.ppt
COA 2.1 Microprogrammed control systems of btech 2nd year students.pptx
Microprogrammed of organisation and architecture of computer.pptx
Computer_Architecture_3rd_Edition_by_Moris_Mano_Ch_07.ppt
Ch7 official
Ch7 official=computer organization and archietectur- CO-COA
COMPUTER SYSTEM ARCHITECTURE UNIT 3 FULL SLIDES
CS304PC:Computer Organization and Architecture UNIT II .pdf
Bca 2nd sem-u-3.2-basic computer programming and micro programmed control
B.sc cs-ii-u-3.2-basic computer programming and micro programmed control
unit-3.pdf
MICROPROGRAMMEDCONTROL-3.pptx
Chapter 7 of Computer system and architecture
Micro programmed control
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
Ad

Recently uploaded (20)

PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Cell Types and Its function , kingdom of life
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Classroom Observation Tools for Teachers
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
RMMM.pdf make it easy to upload and study
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
Cell Structure & Organelles in detailed.
PDF
Business Ethics Teaching Materials for college
Supply Chain Operations Speaking Notes -ICLT Program
2.FourierTransform-ShortQuestionswithAnswers.pdf
Cell Types and Its function , kingdom of life
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Classroom Observation Tools for Teachers
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Microbial diseases, their pathogenesis and prophylaxis
TR - Agricultural Crops Production NC III.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
RMMM.pdf make it easy to upload and study
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Insiders guide to clinical Medicine.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Cell Structure & Organelles in detailed.
Business Ethics Teaching Materials for college

Microprogrammed Control Unit

  • 1. COMPUTER ARCHITECTURE - I PRESENTERS : KAVINAYA S 17Z221 PREETHI S V 17Z231 SAMYUKTHA G 17Z238 SIVAKAMI N 17Z245 VARSHA DEVI K 17Z256 TEJASWINI SIVAKUMAR 17Z253
  • 2. CONTROL UNIT  Control unit generates timing and control signals for the operations of the computer.  It’s the part of the CPU that initiates sequences of microoperations.  It tells the computer’s memory, arithmetic & logic unit and input/output devices how to respond to a program’s instructions. TYPES : There are two methods to implement the control unit:  Hardwired Control Unit (uses fixes instructions, combinational logic units of AND/OR (logic gates), encoders, decoders, etc.)  Microprogrammed Control Unit (the logic of the control unit is specified by microprograms (consists of a sequence of instructions that specify microoperations).
  • 4. IMPORTANT TERMS Control unit initiates a series of sequential steps of microoperations.  CONTROL WORD : - The control variables at any time are represented by 1’s and 0’s, known as Control Word. - Control words can be programmed to perform various operations.  MICROPROGRAMMED CONTROL UNIT : - A control unit whose binary control variables are stored in the memory is called MICROPROGRAMMED CONTROL UNIT.  MICROINSTRUCTIONS : - Each word in the control memory contains microinstructions . - It specifies one or more microoperations for the system.
  • 5. MICROPROGRAM  MICROPROGRAM : - Sequence of microinstructions constitutes a microprogram. - The microprogram controls the function of the CPU. - Alterations in microprograms are not needed once the control unit is in operation. The control memory can be read-only memory (ROM). - The Contents of words in ROM are fixed and cannot be altered, since there is no writing capacity in ROM.  DYNAMIC MICROPROGRAMMING : - microprogram is loaded initially from an auxiliary memory (secondary memory), such as magnetic disk. - employs a writable control memory which allows the user to change the microprogram, though it is mostly used for reading.
  • 6. TYPES OF MEMORY IN MPC 1. MAIN MEMORY  The main memory is used for storing programs. The content of the main memory can be altered when data is manipulated and each time the program is changed.  Program in main memory contains machine instructions and data. 2. CONTROL MEMORY  Memory that is a part of the control unit is called Control memory.  Control memory holds microprograms that cannot be altered by the user. The microprogram consists of microinstructions to execute register microoperations.  Machine instruction initiates a series of microinstructions in the control memory.  The microinstruction generates microoperations to fetch instructions from main memory, to evaluate effective address, to execute the operations specified by instructions or to repeat the cycle for the next instruction.
  • 7. CONFIGURATION The general configuration of microprogrammed control unit is demonstrated as follows: (ROM)
  • 8. SEQUENCER AND PIPELINE REGISTER  SEQUENCER: The next address generator is called a sequencer, as it determines the address sequence that is read from the control memory.  FUNCTIONS: 1. Incrementing the control register 2. Loading an address from control memory to CAR. 3. Loading an initial address  PIPELINE REGISTER : The control data register holds the present microinstruction while the next address is computed and read from the memory. This data register is called pipeline register.  IMPORTANT ADVANTAGE OF MICROPROGRAMMED CONTROL : No hardware or wiring changes is required.
  • 9. SELECTION OF ADDRESS FOR CONTROL MEMORY
  • 10. ADDRESS SEQUENCING  Micro instructions are stored in control memory in group with each group specifying a routine.  An initial address is loaded into the control address register when power is turned on. The fetch routine may be sqenced by incrementing CAR. At end of fetch routine instructions is in IR .  The effective address computation routine in control memory can be reached through branch micro instructions which is conditioned on status mode bits of instructions.  The micro operations steps to be generated in processor register depend on opcode of instruction.  Subroutine will require an external register for storing return address. Return address cannot be stored in ROM because it has no writing capability.
  • 11. ADDRESS SEQUENCING  The micro instructions in control memory contains a set of bits to initiate micro operations in registers and other bits to specify method by which next address is obtained.  The diagram shows four different paths from which the CAR receives the address.  The incrementer increments the CAR content by one.  Branching is achieved by specifying branch address in one of the fields of micro instructions.  Conditional branching is obtained by status bit in order to determine it's condition.  The return address for a sub routine is stored in special register (SBR) whose value is then used when microprogram wishes to return from the subroutine.
  • 12. STEPS IN SELECTION OF ADDRESS  CONDITIONAL BRANCHING - branching from one routine to another depending on status bit conditions - status bits provide parameter information. - information in status bits are tested and actions are initiated based on their conditions:1or0  UNCONDITIONAL BRANCH - fix value of status bit to 1  SUBROUTINES - A set of common instructions that can be used in a program many times - Each time a subroutine is used in main program, a branch is made to the beginning of subroutine
  • 13. MAPPING OF INSTRUCTION  Each computer instruction has its own microprogram  Routine stored in a given location of the control memory  MAPPING : - transformation from instruction code bits to microinstruction address in control memory where routine is located.
  • 14. COMPUTER HARDWARE CONFIGURATION MICROPROGRAM EXAMPLE:  Two memory units: Main memory, control memory. - CONTROL MEMORY :  4 registers are associated with processor unit (PC,AR,DR,AC)  2 registers are associated with the control unit (CAR,SBR)
  • 16. SYMBOLS & BINARY CODE – I F1,F2,F3
  • 17. SYMBOLS & BINARY CODE – II CD,BR