title: Memory indirect addressing movl - assembly
body: <p>I'm trying to understand how exactly memory indirect addressing works in assembly language with AT&amp;T syntax.</p>
  
  <pre><code>movl (%eax), %ebx
  
  movl %eax, (%ebx)
  </code></pre>
  
  <p>Here is a similar question that explains about <a href="https://stackoverflow.com/questions/1619131/addl-instruction-x86">memory indirect addressing</a></p>
  
  <p>This is what I've understood:</p>
  
  <p>In the first case, you <code>load</code> the data pointed to by the register <code>%eax</code>  and store it in <code>%ebx</code>.</p>
  
  <p>In the second case, you <code>store</code> the data in the register <code>%eax</code> to the address space pointed to by the register <code>%ebx</code>. Am I correct?</p>