title: How to do inline assembly in C++ (Visual Studio 2010)
body: <p>I'm writing a performance-critical, number-crunching C++ project where 70% of the time is used by the 200 line core module.</p>
  
  <p>I'd like to optimize the core using inline assembly, but I'm completely new to this. I  do, however, know some x86 assembly languages including the one used by GCC and NASM.</p>
  
  <p>All I know:</p>
  
  <p>I have to put the assembler instructions in <code>_asm{}</code> where I want them to be.</p>
  
  <p>Problem:</p>
  
  <ul>
  <li>I have no clue where to start. What is in which register at the moment my inline assembly comes into play?</li>
  </ul>