Language Implementation
7-55
7
clobber-list clobber-spec [,clobber-list]...
output-spec "=constraint"
(C language object)
input-spec "constraint"
(C language
expression)
clobber-spec "regname"
NOTE. The keywords __asm and __volatile can be used in place of
asm and volatile.
asm Syntax Explanations
asm Keyword
asm statements begin with the keyword asm. Alternatively, the keyword
__asm can be used to ensure ANSI C compliance.
volatile
If the optional keyword
volatile is given, the asm is volatile. Two
volatile asm statements are never moved past each other by optimizations,
and a reference to a volatile variable is not moved relative to a volatile
asm. The alternate keyword
__volatile can be used to ensure ANSI C
compliance.
asm-template
asm-template
A C language ASCII string containing zero or
more
substitution-directives
.
The
asm-template
is a C language ASCII string that specifies how to
output the assembly code for an instruction. Most of the template is a
fixed string; everything but the
substitution-directives
(if there are
any) is passed through to the assembler. Substitution directive syntax is
explained below.