title: Implementing assembly logical 'not' instruction
body: <p>So I have run into a problem in assembly language. I need a way to get the same desired result from the 'not' instruction by only using the 'and' and 'or' instructions. So if I have:</p>
  
  <pre><code>AL = 1011000
  
  not AL = 0100111
  </code></pre>
  
  <p>but I need that result using only and/or instructions. </p>
  
  <p>I assume I have to use masking bits and such, but have had no luck thus far. Even a little nudge in the right direction would be appreciated!</p>