title: Inline assembly, out instruction
body: <p>I am trying to export a .dll file and trying to use it in my c# application to write a data to a port. In my .cpp file (to create a .dll) if I use "out" command it gives "error C2415: improper  operand type" error message. Do you have any idea why i cannot use this "out" command? ("mov" command is working well btw)</p>
  
  <p>See my code below:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  extern "C" __declspec(dllexport) void enableWatchDog()
      _asm {
            out 66,41
            out 62,4
      }
  }
  </code></pre>