CALL instruction is used to call a subroutine. Subroutines are often used to perform tasks that need to be performed frequently. The JMP instruction is used to cause the PLC (Programmable Logic Control) to skip over rungs.
The differences Between CALL and JUMP instructions are:
| SERIAL NO. | JUMP | CALL |
|---|---|---|
| 1. | Program control is transferred to a memory location which is in the main program | Program Control is transferred to a memory location which is not a part of main program |
| 2. | Immediate Addressing Mode | Immediate Addressing Mode + Register Indirect Addressing Mode |
| 3. | Initialisation of SP(Stack Pointer) is not mandatory | Initialisation of SP(Stack Pointer) is mandatory |
| 4. | Value of Program Counter(PC) is not transferred to stack | Value of Program Counter(PC) is transferred to stack |
| 5. | After JUMP, there is no return instruction | After CALL, there is a return instruction |
| 6. | Value of SP does not changes | Value of SP is decremented by 2 |
| 7. | 10 T states are required to execute this instruction | 18 T states are required to execute this instruction |
| 8. | 3 Machine cycles are required to execute this instruction | 5 Machine cycles are required to execute this instruction |
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
Recommended Posts:
- Difference between SIM and RIM instructions in 8085 microprocessor
- Difference between 3-address instruction and 2-address instructions
- Difference between 2-address instruction and 1-address instructions
- Register content and Flag status after Instructions
- Machine Instructions
- Computer Organization | Basic Computer Instructions
- Arithmetic instructions in 8085 microprocessor
- Logical instructions in 8085 microprocessor
- Data transfer instructions in 8085 microprocessor
- Branching instructions in 8085 microprocessor
- Arithmetic instructions in 8086 microprocessor
- Logical instructions in 8086 microprocessor
- Data transfer instructions in 8086 microprocessor
- 8086 program to transfer a block of 4 bytes by using string instructions
- 8085 program to multiply two 8 bit numbers using logical instructions
- Process control instructions in 8086 microprocessor
- String manipulation instructions in 8086 microprocessor
- Program execution transfer instructions in 8086 microprocessor
- Machine Control Instructions in Microprocessor
- ROTATE Instructions in 8085
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.
Improved By : saurabh_masal

