title: How many byes is each instruction compiled to in x86 assembly?
body: <pre><code>0x004012d0 &lt;main+0&gt;:    push   %ebp
  0x004012d1 &lt;main+1&gt;:    mov    %esp,%ebp
  0x004012d3 &lt;main+3&gt;:    sub    $0x28,%esp
  </code></pre>
  
  <p><strong>If the address is not available</strong>, can we calculate it ourselves?</p>
  
  <p>I mean we only have this:</p>
  
  <pre><code>push   %ebp
  mov    %esp,%ebp
  sub    $0x28,%esp
  </code></pre>