##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# C++ keywords: asm

From cppreference.com
< cpp‎ | keyword

### [edit] Usage

- Declaration of an inline assembly block

### [edit] Example

Run this code

    // call exit(0) on 32-bit x86 Linux
    asm("movl $1,%%eax;
         xorl %%ebx,%%ebx;
         int  $0x80"
        );

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/keyword/asm&oldid=44541"