08.11.2014 Views

RealView Compilation Tools アセンブラガイド - ARM Information Center

RealView Compilation Tools アセンブラガイド - ARM Information Center

RealView Compilation Tools アセンブラガイド - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ディレクティブリファレンス<br />

7.3.7 DCDO<br />

DCDO ディレクティブは、 ワード 単 位 でメモリを 割 り 当 てて、 4 バイ ト 境 界 で<br />

整 列 させ、 実 行 時 の メ モ リ の 初 期 内 容 を スタティックベースレジスタ sb<br />

(r9) からのオフセッ ト と して 定 義 します。<br />

構 文<br />

{label} DCDO expr{,expr}...<br />

各 項 目 には 以 下 の 意 味 があ り ます。<br />

expr<br />

レ ジ ス タ 相 対 式 ま たは ラベルを 指 定 し ます。 ベース レ ジ ス タ には<br />

sb を 指 定 する 必 要 があ り ます。<br />

使 用 法<br />

DCDO を 使 用 し て、 ス タ テ ィ ッ クベース レ ジ ス タ と 相 対 的 な 再 配 置 可 能 ア ド レ<br />

スのためにメモリ 内 の 空 間 を 割 り 当 てます。<br />

例<br />

IMPORT externsym<br />

DCDO externsym ; 32-bit word relocated by offset of<br />

; externsym from base of SB section.<br />

7-28 Copyright © 2002-2008 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DUI 0204IJ<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!