title: What does the stack of this function look like?
body: <p>I have to following question. </p>
  
  <p>Given is the function:</p>
  
  <pre><code>show(int a, int b) 
  {
      int v1;
      int v2;
  }
  </code></pre>
  
  <p>a and b are parameters. v1 en v2 are local variables. Draw a stack in which its is clear where a, b, v1 , v2, the old frame pointer en the return adress are. Also show where the high and low stack addresses are. </p>
  
  <p>I hope i have been clear enough.</p>
  
  <p>Edit:</p>
  
  <p>What i have now is:</p>
  
  <pre><code>v2      &lt;-- SP
  v1
  prevLV  &lt;-- LV
  Ra
  a
  b
  </code></pre>