title: Why I cannot compile the assembly codes for x64 platform with VC2010?
body: <p>I am now practicing assembly codes mixed with c++ codes, and I can compile the mixed codes for win32 platform without any problem as the following codes illustrate:</p>
  
  <pre><code>int main()
  {
  
    char alphabet = 'X';
    printf ("Type letter = ");
    __asm
    {                               
         mov ah, 02
         mov dl, [alphabet]       
         int 21h                         
     }
  
  
    printf ("\n");
    return (0);
  }
  </code></pre>
  
  <p>However, when I try to compile the above codes for x64 platform, it fails. The error message I have got is as follows:</p>
  
  <pre><code>error C4235: nonstandard extension used : '__asm' keyword not supported on this architecture
  </code></pre>
  
  <p>I use VC2010 for compiling, and I was wondering why VC2010 does not support assembly language compiling and what I should do in this situation. Thanks! </p>