6.44.1. Basic Asm

6.44.1 Basic Asm — Assembler Instructions Without Operands

A basic asm statement has the following syntax:

asm [ volatile ] ( AssemblerInstructions )

The asm keyword is a GNU extension. When writing code that can be compiled with -ansi and the various -std options, use __asm__ instead of asm (see Alternate Keywords).

Qualifiers

volatile
The optional volatile qualifier has no effect. All basic asm blocks are implicitly volatile.

Parameters

AssemblerInstructions
This is a literal string