Share on Facebook Share on Twitter Email
Answers.com

Opcode

 
Sci-Tech Dictionary: operation code
(′äp·ə′rā·shən ′kōd)

(computer science) A field or portion of a digital computer instruction that indicates which action is to be performed by the computer. Also known as command code.


Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
WordNet: operation code
Top
Note: click on a word meaning below to see its connections and related words.

The noun has one meaning:

Meaning #1: the portion of a set of operation descriptions that specifies the operation to be performed; the set of operations in a computer
  Synonym: order code


Wikipedia: Opcode
Top

In computer technology, an opcode (operation code) is the portion of a machine language instruction that specifies the operation to be performed. Their specification and format are laid out in the instruction set architecture of the processor in question (which may be a general CPU or a more specialized processing unit). Apart from the opcode itself, an instruction normally also has one or more specifiers for operands (i.e. data) on which the operation should act, although some operations may have implicit operands, or none at all. There are instruction sets with nearly uniform fields for opcode and operand specifiers, as well as others (the x86 architecture for instance) with a more complicated, varied length structure. [1]

Depending on architecture, the operands may be register values, values in the stack, other memory values, I/O ports, etc, specified and accessed using more or less complex addressing modes. The types of operations include arithmetics, data copying, logical operations, and program control, as well as special instructions (such as CPUID and others).

Contents

Assembly

Assembly language, or just assembly, is a low-level programming language, which uses mnemonics, instructions and operands to represent machine code. This enhances the readability while still giving precise control over the machine instructions. Most programming is done using high-level languages[2][3], which are typically easier to read and write. These languages need to be compiled (translated into machine language), or run through other compiled programs. [4]

Software instruction sets

Opcodes can also be found in so called byte codes and other representations intended for a software interpreter rather than a hardware device. These software based instruction sets often employ slightly higher-level data types and operations than most hardware counterparts, but are nevertheless constructed along similar lines. Examples include the Java programming language's Java Virtual Machine (JVM), the byte code used in GNU Emacs for compiled LISP code, and many others.[5]

See also

References


 
 

 

Copyrights:

Sci-Tech Dictionary. McGraw-Hill Dictionary of Scientific and Technical Terms. Copyright © 2003, 1994, 1989, 1984, 1978, 1976, 1974 by McGraw-Hill Companies, Inc. All rights reserved.  Read more
WordNet. WordNet 1.7.1 Copyright © 2001 by Princeton University. All rights reserved.  Read more
Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Opcode" Read more