0
871views
S.N. on Difference between JMP instruction & CALL instruction
1 Answer
written 3.0 years ago by |
JMP INSTRUCTION | CALL INSTRUCTION |
---|---|
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 the main program. |
Program counter value is not transferred to a stack. |
Program counter value is transferred to a stack. |
Value of stack pointer does not change. |
Value of stack pointer is decremented by two. |
RET instruction is not required. | RET instruction is required. |
Immediate addressing mode eg: 2900 JMP 2975 H |
Immediate + Register indirect addressing mode. 8000 H CALL 2000 H,SP=3000H before after SP:3000H SP:2FFE H DC:8000H PC:2000 H |