The best answer is if you want to use JMP to replace CALL , but still use RET or as a replacement for RET as well:
PUSH WORD CS:Call_Return JMP My_Method Call_Return: ... (cont) My_Method: ...(some code) RET
or
My_Method: ...(some code) POP DX JMP DX
This only proves that the same thing can be done in many different ways. This assumes 16-bit addressing (real mode), which makes a difference in this case. In 32-bit / 64-bit addressing modes, you will need to change the push, pop, and JMP commands accordingly.
Jeremy
source share