title: How to call DOS Interrupts within a C/C++ program using Inline Assembly?
body: <p>I need to call some DOS interrupts (Services) from a C/C++ program, I tried the following inline asm code: 
  (Read a character)</p>
  
  <pre><code>int main()
  {
  asm(
   "movb $0x01, %ah;"
   "int $0x21"
   );
  system("PAUSE");
  }
  </code></pre>
  
  <p>But it did not work ! I would like to know what have i done wrong here ! Also if there is another way to call dos interrupts !
  Thank You !</p>