So above you know what the words 'instruction' and 'set' mean in common language. This means that you are now ready to know the meaning of the word 'instruction set' in the computer language.
So let's know what is the 'Instruction Set' in a computer?
What is Instruction Set?
As we know that each CPU has an inherent ability to execute a set of machine instructions, then the same ability to execute a set of machine instructions is called an instruction set.
[ Also, Read: What is Processor in Computer? ]
Most CPUs have 200 or more instructions (such as add, compare, and subtract) in their instruction set. The list of instructions supported by a CPU in its instruction set forms the basis for designing the machine language for the CPU. Since each processor has a unique instruction set, machine language programs are written for one computer will generally not run on another computer with a different CPU.
Here you should also know that the CPUs made by different manufacturers have different sets of instructions. In fact, different CPU models of the same manufacturer may have different instruction sets. However, manufacturers tend to group their CPUs into families having similar instruction sets. When they develop a new CPU, they ensure that its instruction set includes all instructions in the instruction set of its predecessor CPU plus some new ones.
[ Also, Read: What is a CPU and what does it do? ]
0 Comments