This commit is contained in:
2025-10-25 03:02:53 +03:00
commit 043225d523
3416 changed files with 681196 additions and 0 deletions

28
cppdraft/dcl/asm.md Normal file
View File

@@ -0,0 +1,28 @@
[dcl.asm]
# 9 Declarations [[dcl]](./#dcl)
## 9.11 The asm declaration [dcl.asm]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/declarations.tex#L9106)
An asm declaration has the form
[asm-declaration:](#nt:asm-declaration "9.11The asm declaration[dcl.asm]")
[*attribute-specifier-seq*](dcl.attr.grammar#nt:attribute-specifier-seq "9.13.1Attribute syntax and semantics[dcl.attr.grammar]")opt asm ( [*balanced-token-seq*](dcl.attr.grammar#nt:balanced-token-seq "9.13.1Attribute syntax and semantics[dcl.attr.grammar]") ) ;
The asm declaration is conditionally-supported;
any restrictions on the [*balanced-token-seq*](dcl.attr.grammar#nt:balanced-token-seq "9.13.1Attribute syntax and semantics[dcl.attr.grammar]") and
its meaning are implementation-defined[.](#1.sentence-2)
The optional [*attribute-specifier-seq*](dcl.attr.grammar#nt:attribute-specifier-seq "9.13.1Attribute syntax and semantics[dcl.attr.grammar]") in
an [*asm-declaration*](#nt:asm-declaration "9.11The asm declaration[dcl.asm]") appertains to the asm declaration[.](#1.sentence-3)
[*Note [1](#note-1)*:
Typically it is used to pass information through the implementation to
an assembler[.](#1.sentence-4)
— *end note*]