Same as Language - Machine
The instruction set is part of the computer architecture known as the Instruction Set Architecture (ISA).
The word set refers to the set of predefined opcodes that are valid in each instruction. Each opcode is a member of the “instruction set”.
The instruction set serves as the boundary between:
- and hardware.
The instruction set provides commands to the device.
An instruction set specifies a device’s functionality
- what operations it supports
- what storage mechanisms it has & how they are accessed
- how the programmer/compiler communicates programs
Different computer processors can use almost the same instruction set while still having very different internal design.
An instruction set can be:
- built into the hardware of the processor,
- or emulated in software, using an interpreter.
The more instructions (e.g. more features) a CPU has, the more circuits are required to implement it.
An example of an instruction set is the x86 instruction set. See wiki/X86_instruction_listings
|Add two numbers together.
|Input information from a device, e.g. keyboard.
|Jump to designated RAM address.
|Conditional statement that jumps to a designated RAM address.
|Load information from RAM to the CPU.
|Output information to device, e.g. monitor.
|Store information to RAM.