01.12.2014 Views

RealView Compilation Tools Developer Guide - ARM Information ...

RealView Compilation Tools Developer Guide - ARM Information ...

RealView Compilation Tools Developer Guide - ARM Information ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>ARM</strong> 和 Thumb 交 互 操 作<br />

4.2.5 Thumb 代 码 中 的 标 签<br />

链 接 程 序 区 别 引 用 以 下 内 容 的 标 签 :<br />

• <strong>ARM</strong> 指 令 ;<br />

• Thumb 指 令 ;<br />

• 数 据 。<br />

当 链 接 程 序 重 定 位 一 个 引 用 Thumb 指 令 的 标 签 的 值 时 , 它 将 最 低 有 效 位 设 置 成<br />

该 重 定 位 值 。 这 意 味 着 到 标 签 的 跳 转 可 自 动 选 择 相 应 的 指 令 集 。 如 果 将 以 下 任 何<br />

指 令 用 于 跳 转 , 这 都 可 实 现 :<br />

• <strong>ARM</strong> 体 系 结 构 4T 版 中 的 BX ;<br />

• 体 系 结 构 5T 版 及 更 高 版 本 中 的 BX、 BLX 或 LDR。<br />

在 早 于 1.2 和 SDT 的 ADS 版 本 中 , 将 Thumb 代 码 中 的 数 据 标 记 上 DATA 指 令 是<br />

必 要 的 。 现 在 , 这 不 再 必 要 了 。<br />

<strong>ARM</strong> DUI 0203BSC © 2002、 2003 <strong>ARM</strong> Limited 版 权 所 有 。 保 留 所 有 权 利 。 4-9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!