Microprogramming PDF
Microprogramming PDF
Microprogramming
Microprogramming
Microprogramming Definition Microprogramming is a method of
implementing the behavior of
Machine Architecture Review machine instructions (produced by
Control Unit our assembler) by means of more
elementary operations, in direct
Instruction Cycle correspondence with the functions of
Microprogramming the physical components of the
computer.
Microprogramming sees the
computer at a greater level of detail
than the computer architecture level.
It needs to be able to specify state
changes in the components of the
physical structure.
1
8086 Block Diagram
Memory Operation Clock
Control Unit
Control Bus
Interrupt
Flags R
MAR (Memory Address
Register) drives the address
IP
bus ALU
Address
MBR (Memory Buffer Register) AX AH AL Instruction Bus
drives the data bus. BX BH BL
Bus
CX CH CL
Data Interface
DX DH DL
Unit
Figure 4-6, Tannenbaum 3rd Data Registers
Data
Edition Index Registers
Bus
+5V
SI CS
DI DS
BP SS
SP ES
Control Unit
2
Hardwired vs. Hardwired vs.
Microprogrammed Microprogrammed
Control Control (cont.)
Hardwired: Microprogrammed:
composed of combinatorial and design is simpler problem of
sequential circuits that generate timing each instruction is broken
complete timing that corresponds down. Microinstruction cycle
with execution of each handles timing in a simple and
instruction. systematic way.
time-consuming and expensive to easier to modify
design slower than hardwired control
difficult to modify
but fast
3
Fetch-Execute Cycle Fetch (steps 1-3)
4
Execute Example Putting it All Together
The Microprogram