title: PowerPC disassembler output different from opcodes
body: <p>Why are the opcodes for powerpc different from what the disassembler outputs? </p>
  
  <p><a href="http://i.stack.imgur.com/U2DTl.png" rel="nofollow">Diassambler Output</a></p>
  
  <pre><code>Disassembly of section .text:
  
  00000000100000b0 &lt;main&gt;:
      100000b0:   38 22 ff f8      addi   r1,r2,-8
      100000b4:   48 00 00 09      bl     100000bc &lt;_main&gt;
      100000b8:   48 00 00 58      b      10000110 &lt;exit&gt;
  </code></pre>
  
  <p>For instance, for the instruction, "b" the first 6 bits contain the hex value 48. However, on the opcode table, it says that the opcode is 18. Why is this? Am I interpreting the opcodes incorrectly? </p>