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.12 DCW、 DCWU<br />

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

界 で 整 列 させ、 実 行 時 の メ モ リ の 初 期 内 容 を 定 義 し ます。<br />

メ モ リ の 境 界 調 整 が 任 意 であ る 点 を 除 き、 DCWU も 同 じです。<br />

構 文<br />

{label} DCW{U} expr{,expr}...<br />

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

expr<br />

-32768 ~ 65535 の 範 囲 の 整 数 を 求 め る 数 値 式 を 指 定 し ます (「 数<br />

値 式 」 (ページ 3-36) を 参 照 )。<br />

使 用 法<br />

DCW は、 必 要 に 応 じ て、 最 初 に 定 義 されたハーフ ワード の 前 に 1 バイ トのパ<br />

デ ィ ン グ を 挿 入 し て、 境 界 調 整 を 2 バイ トにします。<br />

境 界 調 整 が 不 要 な 場 合 は、 DCWU を 使 用 して 下 さい。<br />

以 下 も 参 照 し て 下 さ い。<br />

• 「DCB」 (ページ 7-26)<br />

• 「DCD、 DCDU」 (ページ 7-27)<br />

• 「DCQ、 DCQU」 (ページ 7-33)<br />

• 「SPACE または FILL」 (ページ 7-24)<br />

例<br />

data DCW -225,2*number ; number must already be defined<br />

DCWU number+4<br />

7-34 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!