Instruction set architecture: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Pat Palmer
No edit summary
imported>Pat Palmer
No edit summary
Line 1: Line 1:
The '''instruction set architecture''', often called simply ISA, is the formal specification of a particular type of [[computer]], in the form of a full description of the instructions which the machine can execute, and any behavior associated with the execution of those instructions.  The ISA describes everything that must be true about the [[machine language]] (the native commands used by a particular processor design).   
The '''instruction set architecture''', often called simply ISA, is the formal specification of a particular type of [[computer]], in the form of a full description of the instructions which the machine can execute, and any behavior associated with the execution of those instructions.  The ISA describes everything that must be true about the [[machine language]] (the native commands available in a particular processor design).   


An instruction set architecture is a theoretical description, and says nothing about how instructions are ''implemented'' in hardware.  Since an ISA completely defines the behavior expected of the machine, the ISA definition can be used to write software that emulates (i.e., completely mimics) the behavior of the "machine".  Thus, an ISA can be considered to be a ''[[virtual machine]]''.
An instruction set architecture is a theoretical description, and says nothing about how instructions are ''implemented'' in hardware.  Since an ISA completely defines the behavior expected of the machine, the ISA definition can be used to write software that emulates (i.e., completely mimics) the behavior of the "machine".  Thus, an ISA can be considered to be a ''[[virtual machine]]''.

Revision as of 12:12, 23 September 2007

The instruction set architecture, often called simply ISA, is the formal specification of a particular type of computer, in the form of a full description of the instructions which the machine can execute, and any behavior associated with the execution of those instructions. The ISA describes everything that must be true about the machine language (the native commands available in a particular processor design).

An instruction set architecture is a theoretical description, and says nothing about how instructions are implemented in hardware. Since an ISA completely defines the behavior expected of the machine, the ISA definition can be used to write software that emulates (i.e., completely mimics) the behavior of the "machine". Thus, an ISA can be considered to be a virtual machine.

An ISA usually includes the following items:

  • a precise description of all the hardware data types (also called native data types)
  • a list of machine instructions, also called opcodes (operation codes)
  • descriptions of any registers
  • allowed memory addressing modes
  • memory management modes
  • interrupts
  • exception handling
  • how external input/output (I/O) occurs

Because the instruction set architecture of a processor is fundamental to its interface and usage, it is often used as a classification of the "type" of processor, or CPU. For example, a PowerPC processor uses some variant of the PowerPC ISA. ISA's for a family of processors may need to be qualified by a version number or name variant, such as SPARC version 9.0.

Some processors, like the Intel Itanium, can actually interpret instructions for more than one ISA; however, this is often accomplished by software rather than by designing the hardware to directly support both interfaces. (See emulator.)

See also

Virtualization