AllExperts > Encyclopedia 
Search      
Find out about volunteering to AllExperts

Instruction (computer science): Encyclopedia BETA


Free Encyclopedia
 Home · Index · Browse A-Z  · Questions and Answers ·
Encyclopedia

Browse A-Z
ABCDEFGHIJKLMNOPQRSTUVWXYZNum


License
Disclaimer

 
 
 
 
Free Online Courses
12 Weeks to Weight Loss
Take Charge of Stress
Learn How to Bake
Budgeting 101
Deeper Faith
DIY Fashion Makeover

       MORE E-COURSES
 
   

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z  Misc

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 Assembly code is a developed form of short code. 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 programmers. The size, or "width" of an instruction depends on the architecture of the platform, but it is usually from 4 to 64 bits 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 operands. 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

*Data (computing)
*Machine language



  Rate this Article
   Was this article helpful?
Not at allDefinitely              
   12345  

Email this page
About Us | Advertise on This Site | User Agreement | Privacy Policy | Kids' Privacy Policy | Help
About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.
This is the "GNU Free Documentation License" reference article from the English Wikipedia. All text is available under the terms of the GNU Free Documentation License. See also our Disclaimer.