Computer Organization & Embedded System — Control and Central Processing Units, NEC licence examination syllabus (Nepal Engineering Council).
Why a computer needs a tiny program just to run one instruction.
Here's a question worth pausing on: when you type 2+2 and hit enter, how does the CPU actually KNOW what "ADD" means at the hardware level? It's not magic — behind the scenes, the control unit is running its own miniature program made of microoperations. A microoperation is the smallest unit of work a CPU can do in one clock cycle — things like "move data from register A to register B" or "increment the program counter." A sequence of these microoperations that together carry out one machine instruction is called a microprogram, and each individual step in it is a microinstruction.
This lookup book is physically stored in a special, fast ROM called control memory — completely separate from your regular RAM/main memory, which only stores your program's data and instructions, not the CPU's internal micro-steps.
HardwiredFixed logic gates and flip-flops, wired directly for each instruction. Fast — but rigid; changing behaviour means redesigning circuits.
MicroprogrammedControl signals stored as data in control memory. Slower — but flexible; add a new instruction just by updating the microprogram, no rewiring needed.
Real exampleEarly Intel/x86 CPUs leaned microprogrammed for flexibility with their huge instruction sets; simple RISC chips lean hardwired for raw speed.
Create a free account to tick topics off, take notes as you read, watch the video lessons and get a day-by-day study plan built around your exam date.
Loading…