5.6Microprogrammed control
The idea
A microprogrammed control unit stores each instruction as a small program of micro-instructions in a ROM called the control store.
Think of it like this: A music player: the "tune" is data in memory, so you can change the song without rebuilding the player.
Why it exists
It makes complex instruction sets easier to design and fix, at the cost of speed.
How it works
- The opcode is mapped to the start address of its micro-routine.
- μPC reads a micro-instruction from the control store.
- Its bits directly are the control signals.
- μPC steps forward until the routine ends.
Worked example: ADD
Opcode ADD → μPC = 300; word 300 gives R2out, Yin; word 301 gives R3out, ADD, Zin...
Now play with it
- →Step through and watch μPC advance.
- Opcode is mapped to the starting address of its microroutine
- Control store is read at μPC
- Word is latched in the micro-instruction register
- Its bits are the control signals
- μPC ← μPC + 1 and repeat until the routine ends
Microprogrammed: each machine instruction is a small program stored in the control store.
Check yourself
Where are micro-instructions stored?
Exam notes (the dense version)
Each instruction → microprogram in control store (ROM); μPC steps through microinstructions. Flexible, slower, used in CISC. Nanoprogramming adds a second level to save space.
Previous year questions: ALU, Datapath & Control Unit (3)
PYQs are grouped by topic, so this is the full set for ALU, Datapath & Control Unit; try the ones that match this subtopic. Open all 3 on the topic page.