Net World
Directory listing

Home
Auctions
Autos
Best 1000 sites
Computers
Countries
Entertainment
Games
Health
Jobs
News
Online shopping
Recreation
Search
Sports
Travel
Suggestions
Contact us

  Net World Directory

Your personal directory for the internet
 
   
      Net World Directory: Computers
light.jpg
 

Computer Instructions

The instructions interpreted by the control unit, and executed by the ALU, are not nearly as rich as a human language. A computer responds only to a limited number of instructions, which are precisely defined, simple, and unambiguous. Typical sorts of instructions supported by most computers are "copy the contents of memory cell 5 and place the copy in cell 10", "add the contents of cell 7 to the contents of cell 13 and place the result in cell 20", "if the contents of cell 999 are 0, the next instruction is at cell 30". All computer instructions fall into one of four categories: 1) moving data from one location to another; 2) executing arithmetic and logical processes on data; 3) testing the condition of data; and 4) altering the sequence of operations.

Instructions are represented within the computer as binary code - a base two system of counting. For example, the code for one kind of "copy" operation in the Intel line of microprocessors is 10110000. The particular instruction set that a specific computer supports is known as that computer's machine language.

To slightly oversimplify, if two computers have CPUs that respond to the same set of instructions identically, software from one can run on the other without modification. This easy portability of existing software creates a great incentive to stick with existing designs, only switching for the most compelling of reasons, and has gradually narrowed the number of distinct instruction set architectures in the marketplace.


This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Computer".
 

      Net World Directory: Navigation