while debugging an application I get to an instruction to which the program jumps but nowhere I can find any reference to that instruction. I was wondering how something like that could be accomplished in assembler and if there is a simple way of finding the point in the program where the jump occurs.

I suppose instructions like the following would do the job:

pop ecx ; exc contains the instruction address


jmp exc ; exc contains the instruction address

I'd like to hear from someone who understand more about assembler and ollydbg. Are there other ways to accomplish a jump to an instruction without having the address of that instruction hardcoded??? Thanks.