diff options
Diffstat (limited to 'devdocs/gcc~13/constraints.html')
| -rw-r--r-- | devdocs/gcc~13/constraints.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devdocs/gcc~13/constraints.html b/devdocs/gcc~13/constraints.html new file mode 100644 index 00000000..2a6256cf --- /dev/null +++ b/devdocs/gcc~13/constraints.html @@ -0,0 +1,6 @@ +<div class="subsection-level-extent" id="Constraints"> <div class="nav-panel"> <p> Next: <a href="asm-labels" accesskey="n" rel="next">Controlling Names Used in Assembler Code</a>, Previous: <a href="extended-asm" accesskey="p" rel="prev">Extended Asm - Assembler Instructions with C Expression Operands</a>, Up: <a href="using-assembly-language-with-c" accesskey="u" rel="up">How to Use Inline Assembly Language in C Code</a> [<a href="index#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="indices" title="Index" rel="index">Index</a>]</p> </div> <h1 class="subsection section-level-set-subsection" id="Constraints-for-asm-Operands"><span>6.47.3 Constraints for asm Operands<a class="copiable-link" href="#Constraints-for-asm-Operands"> ¶</a></span></h1> <p>Here are specific details on what constraint letters you can use with <code class="code">asm</code> operands. Constraints can say whether an operand may be in a register, and which kinds of register; whether the operand can be a memory reference, and which kinds of address; whether the operand may be an immediate constant, and which possible values it may have. Constraints can also require two operands to match. Side-effects aren’t allowed in operands of inline <code class="code">asm</code>, unless ‘<samp class="samp"><</samp>’ or ‘<samp class="samp">></samp>’ constraints are used, because there is no guarantee that the side effects will happen exactly once in an instruction that can update the addressing register. </p> <ul class="mini-toc"> <li><a href="simple-constraints" accesskey="1">Simple Constraints</a></li> <li><a href="multi-alternative" accesskey="2">Multiple Alternative Constraints</a></li> <li><a href="modifiers" accesskey="3">Constraint Modifier Characters</a></li> <li><a href="machine-constraints" accesskey="4">Constraints for Particular Machines</a></li> </ul> </div><div class="_attribution"> + <p class="_attribution-p"> + © Free Software Foundation<br>Licensed under the GNU Free Documentation License, Version 1.3.<br> + <a href="https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Constraints.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Constraints.html</a> + </p> +</div> |
