title: Tutorial on Boolean Logic as used in Assembly
body: <p>Is there a tutorial somewhere which explains all the intricacies of boolean logic operations which are possible in assembly language. For example, I have no idea what the following assembly code block does:</p>
  
  <pre><code>mov     [ebp-8h], 31982853h
  mov     eax, [ebp+Ch]
  shl     eax, 8
  mov     ecx, [ebp+Ch]
  shr     ecx, 8
  or      eax, ecx
  </code></pre>
  
  <p>I understand what the shl, shr and or instructions do but have no idea about their combined result. 
  Can anybody direct me to a tutorial which thoroughly explains boolean logic operations in assembly?</p>
  
  <p>Thanks.</p>