Difference between revisions of "Instruction"
From Computer History Wiki
m (Correct cat) |
m (+cat) |
||
Line 1: | Line 1: | ||
− | An '''instruction''' is, at the highest level of abstraction, the smallest unit of computation which a programmer can direct the [[Central Processing Unit|CPU]] to perform. | + | An '''instruction''' is, at the highest level of abstraction, the smallest unit of computation which a [[programmer]] can direct the [[Central Processing Unit|CPU]] to perform. |
− | In more practical terms, the CPU operates by fetching items from [[main memory]]; each item contains a single directive for the CPU (e.g. a the contents of one [[register]] to another, or move a unit of data from a register, to main memory) - those items are instructions. (An instruction is usually a word, but on some CPUs, multiple instructions could be packed in each word, while on others, some instructions took multiple words.) | + | In more practical terms, the CPU operates by fetching items from [[main memory]]; each item contains a single directive for the CPU (e.g. a the contents of one [[register]] to another, or move a unit of data from a register, to main memory) - those items are instructions. (An instruction is usually a [[word]], but on some CPUs, multiple instructions could be packed in each word, while on others, some instructions took multiple words.) |
{{semi-stub}} | {{semi-stub}} | ||
+ | |||
+ | [[Category: Hardware Basics]] |
Revision as of 03:57, 13 December 2018
An instruction is, at the highest level of abstraction, the smallest unit of computation which a programmer can direct the CPU to perform.
In more practical terms, the CPU operates by fetching items from main memory; each item contains a single directive for the CPU (e.g. a the contents of one register to another, or move a unit of data from a register, to main memory) - those items are instructions. (An instruction is usually a word, but on some CPUs, multiple instructions could be packed in each word, while on others, some instructions took multiple words.)