What the Heck is a Micro-Operation?

When reading about Microprocessors, RISC and CISC, you will stumble upon this terminology. What does it mean?

Erik Engheim
9 min readJan 4, 2021

If you have been reading my various microprocessor related stories, you have probably come across the term micro-operation more than once. Here I will try to go a bit deeper and explain better what a micro-operation is.

Read more: How Does a Modern Microprocessor Work?

Read more: What Does RISC and CISC Mean in 2020?

The diagram below zooms in on just a particular part of what the microprocessor does. It shows instructions coming from memory and moving into the instruction decoder inside the microprocessor (CPU). The decoder chops the instruction up into what we call micro-operations which gets fed to the controller unit.

That is a bunch of stuff, which we need to unpack. First of all let me remind you what an instruction is. A computer program is made up of multiple instructions stored in memory. When the program runs, the CPU pulls instructions, one at a time, into the decoder.

Okay that is a simplification. In reality there could be CPU cache in between memory and the decoder. There could be multiple decoders. But let us ignore all that. You don’t need those details to…

--

--

Erik Engheim
Erik Engheim

Written by Erik Engheim

Geek dad, living in Oslo, Norway with passion for UX, Julia programming, science, teaching, reading and writing.

Responses (2)