what is Instruction Set
February 21, 2019
Instruction Set
A set of all Instructions that can be
performed by a CPU is called instruction set the
Instruction set consists of the following
types of Instructions.
- Arithmetic Instructions
- Logical Instructions
- Data Transfer Instructions
- Control Transfer Instructions
1. Arithmetic Instructions
The instructions used to perform arithmetic
operations are called arithmetic
Instructions. Different arithmetic
operations are addition, subtraction, multiplication and
division. These instructions are executed
by the arithmetic & logic unit of CPU.
2. Logical Instructions
The instructions used to perform logical
operations are called logical instructions. A
logical operation is the comparison of two
data values. Possible comparisons are:
1.
Greater than >
2.
Equal to =
3.
Less than <
These instructions are also executed by the
Arithmetic & Logic unit of CPU.
3. Data Transfer Instruction
The instructions used to transfer data from
one component to another component
during program execution are called data
transfer instructions.
4. Control Transfer Instruction
The instructions used to change the
sequence of instructions of a program are called
control transfer instructions. These
instructions transfer the execution control to a certain part
of program instead of next instruction.