Instruction (computer Science) Article Index for
Instruction
Website Links For
Instruction
 

Information About

Instruction (computer Science)




In Computer Science , an instruction typically refers to a single operation of a Processor within a Computer Architecture .
The types of instruction allowed are defined and determined within the particular platform's Instruction Set Architecture (ISA), which also determines Register sources and destination operands, and perhaps an immediate field. Machine instructions are numbers represented in Binary . A portion (field) of the instruction designates the operation to be done and is called an Opcode ; since the numeric value of this is not very meaningful to humans, a corresponding short abbreviation is used by Programmer s. The size, or "width" of an instruction depends on the architecture of the Platform , but it is usually from 4 to 64 Bit s wide. The following is an example of a X86 instruction in symbolic Assembler notation:

:SHL   AX, 01

SHL is called the Operation , and '''AX''', '''01''' are called Operand s. '''AX''' is the name of a register, '''01''' is a Constant . In this example, SHL is a Mnemonic abbreviation for "shift left". The instruction causes the value in '''AX''' to be shifted left by '''01''' bit postition.


SEE ALSO