title: Assembly Language Symbolic opcodes
body: <p>I'm pretty confused with converting hex machine instructions to symbolic opcodes. I have a few review problems from this section:</p>
  
  <pre><code>What machine code is generated for the instruction: sbb al, 10
  sbb reg/mem from reg/mem    0001 10dw | mod reg r/m | disp-lo | disp-hi
  sbb immed from reg/mem      1000 00dw | mod 101 r/m | disp-lo | disp-hi | disp-lo | disp-hi
  sbb immed from accumulator  0001 110w | data-lo | data-hi
  Answer: 01C0A
  
  What is the symbolic opcode for this hex machine instruction: F7 26 10 00
  I converted F7 to 1111 0111 and this matches up with these instructions
  mul    1111 011w | mod 100 r/m | disp-lo | disp-hi
  imul   1111 011w | mod 101 r/m | disp-lo | disp-hi
  div    1111 011w | mod 110 r/m | disp-lo | disp-hi
  idiv   1111 011w | mod 111 r/m | disp-lo | disp-hi
  Answer: mul
  </code></pre>
  
  <p>I have no idea how to handle these problems and I can't seem to wrap my head around the concepts. Can someone break it down to me in simpler terms?</p>