Вопрос

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?

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top