title: C, Inline Assembly - manual function call
body: <p>I want to jump to a function and pretend I had just called it.
  So I push the arguments to the stack, I load the address of the label I want to jump to when I return from the function I "call" and push it to the stack, I set ebp to esp ... now what?</p>
  
  <p>Can I just </p>
  
  <pre><code>__asm__(
      "jmp %0;"
      :
      :"rm"(&amp;my_func)
      );
  </code></pre>
  
  <p>or what would be the proper way to do this?</p>