Files
cppdraft_translate/cppdraft/dcl/asm.md
2025-10-25 03:02:53 +03:00

29 lines
1.3 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[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*]