title: C++ Translate bytes to opcodes?
body: <p>I am not sure how to word this question but, I am curious to find out how assemblers and other tools show the opcodes of certain bytes?</p>
  
  <pre><code>std::string BytesToOpcode( __in ::BYTE Bytes );
  
  int main( void )
  {
      std::cout &lt;&lt; BytesToOpcode( ( ::PBYTE )"\x33\xC0" );
      std::cin.get( );
      return( EXIT_SUCCESS );
  };
  
  // I don't know what type soo I'll just set as std::string for an example.
  std::string BytesToOpcode( __in ::BYTE Bytes )
  {
      // Convert Bytes to opcode??
      return( "" );
  };
  
  
  Output should be:
  XOR EAX,EAX
  </code></pre>