< C++ Programming < Programming Languages < C++ < Code < Keywords
The asm keyword is used to declare an inline assembly code. When using the windows compiler, the __asm keyword is used instead. Here the asm keyword does not do anything.
asm {
mov al, 4
mov dx, 0xD007
out dx, al
}
This article is issued from
Wikibooks.
The text is licensed under Creative
Commons - Attribution - Sharealike.
Additional terms may apply for the media files.