Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Difference between CALL and JUMP instructions

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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.JUMPCALL
1.Program control is transferred to a memory location which is in the main programProgram Control is transferred to a memory location which is not a part of main program
2.Immediate Addressing ModeImmediate Addressing Mode + Register Indirect Addressing Mode
3.Initialisation of SP(Stack Pointer) is not mandatoryInitialisation of SP(Stack Pointer) is mandatory
4.Value of Program Counter(PC) is not transferred to stackValue of Program Counter(PC) is transferred to stack
5.After JUMP, there is no return instructionAfter CALL, there is a return instruction
6.Value of SP does not changesValue of SP is decremented by 2
7.10 T states are required to execute this instruction18 T states are required to execute this instruction
8.3 Machine cycles are required to execute this instruction5 Machine cycles are required to execute this instruction
My Personal Notes arrow_drop_up
Last Updated : 03 Mar, 2020
Like Article
Save Article
Similar Reads