title: What does INSTR 0x0(REG), REG, 0x0 displacement mean?
body: <p>I was looking in to some compiler generated assembly code(x86_64) and found few instructions which have a zero displacement as following..</p>
  
  <pre><code>     movzbl 0x0(%rbp),%eax
  </code></pre>
  
  <p>What could be the reason behind such 0x0 displacement? (I am new to assembly, please point me to the links if its already a discussed issue.) From my understanding, the above instruction <em>copies the zero extended rbp+(0x0) to eax</em>.</p>
  
  <hr>
  
  <p>EDIT: I found a link which explains it for <strong>leal</strong> though
  <a href="https://stackoverflow.com/questions/9985635/what-does-0x0-indicate-in-the-instruction">what-does-0x0-indicate-in-the-instruction</a></p>
  
  <p>Thank you..!</p>