There are many kinds of instructions found in an instruction set.
Some of them are like arithmetic operations, addition, subtraction, multiplication, division, logical
operation, negation, disjunction, conjunction operations which are acting on a single bit like clearing
a bit, setting a bit, shifting a bit.
Operations which are acting on a memory.
Copying a value from one register to another.
Like we have no previous video.
We copied a value of one four or something in r0 and then r1 register an operations which, compared
to values bigger and smaller or equal, the values are equal.
Multiple operations, like some operations, will combine all the other operations and etc. operations
which act on program flow.
Jump operation operations which convert data type, converting a 32 bit integer to 64 bit, or converting
a floating point to an integer by truncating.
So these are the various instructions which are available in an instruction set.
We have seen one example, but we will be seeing all other examples as well.
And all processors will have its own instruction set.
You have ARM processor having its own instruction set, and you have x86 processor having its own instruction
set, the one which we have seen E3A0.
The instruction right is specific to ARM.
If you run that same machine code on whatever you have seen.
Uh, just now, if you run this on an x86 or a Intel based processor, this will not work.
This is an instruction set of ARM processor.
So each and every processor will have its own instruction set.
And instructions are patterns of bit that corresponds to different commands that are that can be given
to the machine.
And newer processors.
They all often change.
They often add the all the instructions of a predecessor, the previous processors instruction, and
they may include an additional instruction as well.
Sometimes they will change the previous instruction to uh, change the meaning of that instruction.
Sometimes they will include all the instructions.
So mostly it will be compatible, but sometimes they change the value of a particular instruction code.
And instructions will have one or more opcode field which we have seen.
And this some will specify the one value like in 32 bit we have seen.
One is specifying the instruction whether it is performing, uh, move operation or add operation,
or all others will give the arguments to the instruction like operands is like arguments, or it can
give the addressing mode.
And there are special instructions that are contained in the opcode itself.
This instructions are called as immediate immediates.
So this is just an example of like what uh, this video we are just discussing like what all instructions
are available in an instruction set.
And what happens when the processor, when your processor includes all instructions or whether the change
uh instruction meaning uh, when the opcode meaning if, if you are moving to a newer processor and
all and instructions will have the opcodes will have also an operand.