machine instruction

Share on Facebook Share on Twitter Email
(mə′shēn in′strək·shən)

(computer science) A set of digits, binary bits, or characters that a computer can recognize and act upon, and that, when interpreted or decoded, indicates the action to be performed and which operand is to be involved in the action.


Computer Desktop Encyclopedia:

machine instruction

Top

An instruction in machine language. Its anatomy is an operation code (op code) followed by one or more operand nouns. The op code is the action, while the operands are the data locations in memory to be acted upon or the program location in memory to switch to. There are instructions to INPUT and OUTPUT data, to process data by CALCULATING, COMPARING and COPYING and to go to some other part of the program. There are also instructions that manipulate the CPU's registers, as well as to go to some other part of the program based on the results of the last COMPARE operation (high, low, equal).

The following examples are conceptual and represent what a machine instruction would do. They are not actual instructions. See hardware platforms and computer.

 OP CODE        OPERANDS
 (verb)         (the nouns)

 add            amount to total

 compare        search-key to item-1

 if last compare
  was equal,
  go to         routine-A

 copy           data-in to data-out

 go to          routine-X

Download Computer Desktop Encyclopedia to your PC, iPhone or Android.

Post a question - any question - to the WikiAnswers community:

Copyrights:

Mentioned in

instruction (technology)
code error (computer science)
hardware division (computer science)
hardware multiplication (computer science)
tape skip (computer science)