title: mov instruction in x86 assembly
body: <p>From what I've read about <code>mov</code>, it copies the second argument into the first argument. Then, what does this do?</p>
  
  <pre>
  movl    8(%ebp),    %edx
  </pre>
  
  <p>It copies whatever is in edx to the first parameter of the function (since an offset of +8 from <code>ebp</code> is a parameter)?</p>
  
  <p>I feel like what this really means is moving the first parameter into the <code>edx</code> register, but I read on Wikipedia that it is the other way around?</p>