this is probably an easy one, but I'm confused about this for some time:
Suppose I have something like
main:
...
call some_fun
...
some_fun:
...
jmp op
...
op:
...
ret
would this ret correctly return to where the call starts? if not, then how would the ret returns correctly?
some_fun
, you'd have to store a return address on the stack before jumping. I think. :/