title: Assembly compl 32 bit, 8 bit
body: <p>I am looking at some assembly code and I see: </p>
  
  <pre><code>cmpl $0x1d32, -0x4(%ebp)
  </code></pre>
  
  <p>Since -0x4(%ebp) is 1 byte, it obviously cannot store the other value (7474) in it. Thus, when would this code show them as equal? Would it only compare the most/least significant byte of the immediate value or is there some sort of hidden word extension?</p>