Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) asm

 

Keyword to start an Assembly code block.

 

The code below makes your computer beep:

 

int main()
{
  asm
  {
    mov ax, 0x0E07
    xor bx,bx
    int 0x10
  }
}

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict