title: Return Instruction Pointer in the stack
body: <p>I know that when a routine is called, the processor stores the memory address of the code that called the routine so that it knows where to go to continue execution when the called routine “returns.” This address (named the return instruction pointer) is stored on the stack.</p>
  
  <p>I have three questions in mind:</p>
  
  <ul>
  <li>Where in the stack is the Return Instruction Pointer stored?</li>
  <li>How is the RIP used when a function returns? </li>
  <li>and Where should this cause the program to continue execution?</li>
  </ul>