title: Assembly Language: cbw
body: <p>I am unsure of what the <code>cbw</code> command actually does. I have a snippet of code:</p>
  
  <pre><code>mov  ax,0FF0h
  cbw
  idiv ah
  </code></pre>
  
  <p>How does the value of ax change after cbw?</p>