title: How to load the contents of the memory address stored in a register in assembly?
body: <p>I'm new to assembly and am trying to iterate over a string stored in memory. I'm able to get the address of the string using <code>lea</code> (load effective address) instruction but I want to now use that address stored in a register.</p>
  
  <p>Is there an analog to <code>lw</code> which could be used as follows:</p>
  
  <pre><code>lea string, %edx     ; Load effective address of string into edx
  lw %edx, %eax        ; Load eax with the value stored where edx points 
  
  ...
  string:
      .string "Hello"
  </code></pre>