Unit 2 - Microprogrammed Control Organization
Unit 2 - Microprogrammed Control Organization
Microprogrammed Control
Organization
1
24-09-2021
2
24-09-2021
Control Memory
Since alterations of the microprogram are not needed once
the control unit is in operation, the control memory can be a
read-only memory (ROM).
The content of the words in ROM are fixed and cannot be
altered by simple programming since no writing capability is
available in the ROM.
ROM words are made permanent during the hardware
production of the unit.
A memory that is part of a control unit is referred to as a
control memory.
Control Memory
A computer that employs a microprogrammed control unit will have
two separate memories: a main memory and a control memory.
Main Memory:
The main memory is available to the user for storing the programs. The
contents of main memory may alter when the data are manipulated and
every time that the program is changed.
The user's program in main memory consists of machine instructions and
data.
Control Memory:
It holds a fixed microprogram that cannot be altered by the occasional user.
The microprogram consists of microinstructions that specify various internal
control signals for execution of register microoperations.
Each machine instruction initiates a series of microinstructions in control
memory.
These microinstructions generate the microoperations to fetch the
instruction from main memory; to evaluate the effective address, to execute
the operation specified by the instruction, and to return control to the fetch
phase in order to repeat the cycle for the next instruction.
3
24-09-2021
4
24-09-2021
Sequencer
The next address generator is sometimes called
microprogram sequencer.
The address of the next microinstruction can be specified in
several ways, depending on the sequencer inputs.
Typical functions of a microprogram sequencer are
Incrementing the control address register by one, loading into
the control address register an address from control memory,
Transferring an external address, or loading an initial address to
start the control operations.
Address Sequencing
10
5
24-09-2021
11
12
6
24-09-2021
13
Microinstruction format
20 bits
14