Question

How micro processor is controlled? For example, after receiving instructions from memory, the instruction decoder decodes the instruction(???), and the decoded instruction is executed in ALU. How all this happen in a sequence?

Was it helpful?

Solution

At a high level, when the microprocessor is given electricity, it sets the program counter to a predefined address in memory where it expects the sequence of program instructions to start. Each instruction tells the microprocessor to do one or more things, such as read/write memory, do math, or change the value of the program counter.

The ALU is the Arithmetic Logic Unit, which just does the math bits.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top