Jump to content

Instruction unit

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Magic links bot (talk | contribs) at 19:00, 16 June 2017 (Replace magic links with templates per local RfC and MediaWiki RfC). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The instruction unit (IU) in a central processing unit (CPU) is responsible for organising program instructions to be fetched from memory, and executed, in an appropriate order. It is a part of the control unit, which in turn is part of the CPU.

In the simplest style of computer architecture, the instruction cycle is very rigid, and runs exactly as specified by the programmer. In the Instruction Fetch part of the cycle, the contents of the program counter (PC) register are placed on the address bus, and sent to the memory unit; the memory unit returns the instruction at that address, and it is latched into the Instruction Register (IR); and the contents of the PC are incremented or over-written by a new value (in the case of a Jump or Branch instruction) ready for the next instruction cycle.

This becomes a lot more complicated, though, once performance-enhancing features are added, such as instruction pipelining, out-of-order execution, and even just the introduction of a simple instruction cache.[1]

See also

References

  1. ^ John L. Hennessy and David A. Patterson (1990), Computer Architecture: a quantitative approach, Morgan Kaufmann Publishers, Palo Alto, USA, ISBN 1-55860-069-8