Micro Program Control
Micro Program Control
Control Memory •
Sequencing Microinstructions •
Microprogram Example •
Microinstruction Format •
Control Unit
• Initiate sequences of microoperations
Microinstruction
The microinstruction specifies one or more microoperations
Microprogram
A sequence of microinstruction
Dynamic microprogramming :Control Memory =RAM»
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
External Control
Next-address Control Control Control word
input generator address memory data
(sequencer) register (ROM) register
Next-address information
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
»Specify the address of the microinstruction
Sequencer
»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.
Sequencing Capabilities Required in a Control Storage
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