Continuing with Everyday one short tricks Series to boost your Gate/Ese Preparation.
How to understand Complete 8085 Instruction Set in Just 10 minutes
Before Starting to understand Instruction Set , It is mandatory to Understand Classification of Instruction based on the size of Instruction.
Classification of Instruction Based on its Size:
1. One Byte Instruction : This type of Instruction only consist of opcode and no operands.
for example : MOV A,B , INX A , DCX A2. Two Byte Instruction : This type of instruction consist of Opcode as well as 1 Byte of operand
for example: MVI A, 02 H
3. Three Byte Instruction : This type of instruction consist of Opcode as well as 2 Byte of operand
for example: LXI H,1234H
Now if you understand this classification proper;y you can move to Instruction SetInstruction Set is classified into 5 categories:1. Data transfer Instruction Set - To transfer data from one register to another register or from one Memory Location to one Register or vice versa.for examaple : Mov A, B - copy content of B to A
2. Arithmetic Instruction Set - To do Arithmetic operation on data of Two Registersfor example : ADD B :- A + B
3. Logical Instruction Set - To do Logical operation On data of Two Register, it is very handy for Masking operation using AND operation.for example : ANA B :- A AND B
4. Branching Instruction Set - It is used to handover control to other Subroutine having different Memory Location .for example : CALL 1234H
5. Implicit Instruction Set - This type of instruction act as a Supporter to Your Program. for example Nop Instruction is used to create Delay in your Pogram ,even HLT Instruction Stops your Program for Further execution of Instruction.For More Details Please Watch this Video Completely:{After Watching this Video you will be able to clearly Interpret each Instruction }
3. Three Byte Instruction : This type of instruction consist of Opcode as well as 2 Byte of operand
for example: LXI H,1234H
Now if you understand this classification proper;y you can move to Instruction SetInstruction Set is classified into 5 categories:1. Data transfer Instruction Set - To transfer data from one register to another register or from one Memory Location to one Register or vice versa.for examaple : Mov A, B - copy content of B to A
2. Arithmetic Instruction Set - To do Arithmetic operation on data of Two Registersfor example : ADD B :- A + B
3. Logical Instruction Set - To do Logical operation On data of Two Register, it is very handy for Masking operation using AND operation.for example : ANA B :- A AND B
4. Branching Instruction Set - It is used to handover control to other Subroutine having different Memory Location .for example : CALL 1234H
5. Implicit Instruction Set - This type of instruction act as a Supporter to Your Program. for example Nop Instruction is used to create Delay in your Pogram ,even HLT Instruction Stops your Program for Further execution of Instruction.For More Details Please Watch this Video Completely:{After Watching this Video you will be able to clearly Interpret each Instruction }
If you Like this video Please do hit the LIKE button and Subscribe to Channel.
#GetDoubtsCleared
#StudentIntiative
#BestExplaination
#StudentIntiative
#BestExplaination
Comments
Post a Comment