⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 d10v-word.html

📁 gcc手册
💻 HTML
字号:
<html lang="en">

<head>

<title>Using as</title>

<meta http-equiv="Content-Type" content="text/html">

<meta name="description" content="Using as">

<meta name="generator" content="makeinfo 4.3">

<link href="http://www.gnu.org/software/texinfo/" rel="generator-home">

</head>

<body>

<div class="node">

<p>

Node:<a name="D10V-Word">D10V-Word</a>,

Previous:<a rel="previous" accesskey="p" href="D10V-Addressing.html#D10V-Addressing">D10V-Addressing</a>,

Up:<a rel="up" accesskey="u" href="D10V-Syntax.html#D10V-Syntax">D10V-Syntax</a>

<hr><br>

</div>



<h5 class="subsection">@WORD Modifier</h5>



   <p>Any symbol followed by <code>@word</code> will be replaced by the symbol's value

shifted right by 2.  This is used in situations such as loading a register

with the address of a function (or any other code fragment).  For example, if

you want to load a register with the location of the function <code>main</code> then

jump to that function, you could do it as follws:

<pre class="smallexample">     ldi     r2, main@word

     jmp     r2

     </pre>



   </body></html>



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -