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

📄 h8-300.html

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

<head>

<title>Untitled</title>

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

<meta name="description" content="Untitled">

<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="H8%2f300">H8/300</a>,

Next:<a rel="next" accesskey="n" href="i960.html#i960">i960</a>,

Up:<a rel="up" accesskey="u" href="Machine-Dependent.html#Machine%20Dependent">Machine Dependent</a>

<hr><br>

</div>



<h3 class="section"><code>ld</code> and the H8/300</h3>



   <p>For the H8/300, <code>ld</code> can perform these global optimizations when

you specify the <code>--relax</code> command-line option.



     <dl>

<dt><em>relaxing address modes</em>

     <dd><code>ld</code> finds all <code>jsr</code> and <code>jmp</code> instructions whose

targets are within eight bits, and turns them into eight-bit

program-counter relative <code>bsr</code> and <code>bra</code> instructions,

respectively.



     <br><dt><em>synthesizing instructions</em>

     <dd><code>ld</code> finds all <code>mov.b</code> instructions which use the

sixteen-bit absolute address form, but refer to the top

page of memory, and changes them to use the eight-bit address form. 

(That is: the linker turns <code>mov.b @</code><var>aa</var><code>:16</code> into

<code>mov.b @</code><var>aa</var><code>:8</code> whenever the address <var>aa</var> is in the

top page of memory). 

</dl>



   </body></html>



⌨️ 快捷键说明

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