ITWissen.info - Tech know how online

instruction

An instruction is the same as a command. The term is mainly used in higher programming languages, whereas the word command is used in machine-oriented programming languages.

An instruction is used to perform an operation, which in turn is part of a program. Instructions include loading, moving, and deletingdata, as well as logical and arithmetic operations.

Execution of instructions between processor and memory

Execution of instructions between processor and memory

Instructions are exchanged between participating functional units. For example, the flow of instructions between a central processing unit and a memory unit occurs by the processor first fetching the instruction from memory, the instruction fetch(IF). The address of the next instruction to be executed is located in the program counter or instruction register. The instruction register delivers the instruction to the processor, which decodes it so that it recognizes what instruction it needs to execute. This instruction is called Instruction Decode( ID).

This is followed by the reading of the register, Register Read( RR). Then the processor executes the operation designated by the instruction, the Execute (EX), and writes the result to a register or RAM, the Write Back( WB). Then the processor updates the instruction register by incrementing the program counter.

Informations:
Englisch: instruction
Updated at: 07.05.2013
#Words: 196
Links: command, word, operation, program, central processing unit (CPU)
Translations: DE
Sharing:    

All rights reserved DATACOM Buchverlag GmbH © 2022