title: Compiling assembly for X86/X64 for use with C#
body: <p>I would like to add cpuid functionality to my C# app. I found <a href="http://devpinoy.org/blogs/cvega/archive/2006/04/07/2658.aspx" rel="nofollow noreferrer">this</a> interesting blog post online. I will probably need MASM to compile this but:</p>
  
  <ol>
  <li>How should I start?</li>
  <li>I suspect that I will have to compile a dll for both X86 and X64 but again I don't have a clue about how to go about such a thing (and I am a bit pressed for time).</li>
  </ol>
  
  <p>So any help would be more than welcome!</p>