diff options
| author | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
| commit | 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch) | |
| tree | f1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/gcc~13/explicit-register-variables.html | |
new repository
Diffstat (limited to 'devdocs/gcc~13/explicit-register-variables.html')
| -rw-r--r-- | devdocs/gcc~13/explicit-register-variables.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devdocs/gcc~13/explicit-register-variables.html b/devdocs/gcc~13/explicit-register-variables.html new file mode 100644 index 00000000..2c485cd2 --- /dev/null +++ b/devdocs/gcc~13/explicit-register-variables.html @@ -0,0 +1,6 @@ +<div class="subsection-level-extent" id="Explicit-Register-Variables"> <div class="nav-panel"> <p> Next: <a href="size-of-an-asm" accesskey="n" rel="next">Size of an <code class="code">asm</code></a>, Previous: <a href="asm-labels" accesskey="p" rel="prev">Controlling Names Used in Assembler Code</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" id="Variables-in-Specified-Registers"><span>6.47.5 Variables in Specified Registers<a class="copiable-link" href="#Variables-in-Specified-Registers"> ΒΆ</a></span></h1> <p>GNU C allows you to associate specific hardware registers with C variables. In almost all cases, allowing the compiler to assign registers produces the best code. However under certain unusual circumstances, more precise control over the variable storage is required. </p> <p>Both global and local variables can be associated with a register. The consequences of performing this association are very different between the two, as explained in the sections below. </p> <ul class="mini-toc"> <li><a href="global-register-variables" accesskey="1">Defining Global Register Variables</a></li> <li><a href="local-register-variables" accesskey="2">Specifying Registers for Local Variables</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/Explicit-Register-Variables.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Explicit-Register-Variables.html</a> + </p> +</div> |
