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.

第 5 章<br />

混 合 使 用 C、 C++ 和 汇 编 语 言<br />

本 章 描 述 如 何 编 写 C、C++ 和 <strong>ARM</strong> 汇 编 语 言 混 合 代 码 。 还 描 述 如 何 从 C 和 C++<br />

使 用 <strong>ARM</strong> 内 联 和 嵌 入 式 汇 编 程 序 。 它 包 含 以 下 几 个 部 分 :<br />

• 第 5-2 页 的 使 用 内 联 汇 编 程 序 ;<br />

• 第 5-12 页 的 使 用 嵌 入 式 汇 编 程 序 ;<br />

• 第 5-15 页 的 内 联 汇 编 代 码 与 嵌 入 式 汇 编 代 码 之 间 的 差 异 ;<br />

• 第 5-16 页 的 从 汇 编 代 码 访 问 C 全 局 变 量 ;<br />

• 第 5-17 页 的 在 C++ 中 使 用 C 头 文 件 ;<br />

• 第 5-19 页 的 C、C++ 和 <strong>ARM</strong> 汇 编 语 言 之 间 的 调 用 。<br />

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

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

Saved successfully!

Ooh no, something went wrong!