29.10.2014 Views

ARM Compiler toolchain v4.1 for µVision Using the Compiler

ARM Compiler toolchain v4.1 for µVision Using the Compiler

ARM Compiler toolchain v4.1 for µVision Using the Compiler

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>Using</strong> <strong>the</strong> Inline and Embedded Assemblers of <strong>the</strong> <strong>ARM</strong> <strong>Compiler</strong><br />

7.23 Inline assembler intermediate operands in C and C++ code<br />

A C or C++ constant expression of an integral type might be used as an immediate value in an<br />

inline assembly language instruction.<br />

A constant expression that is used to specify an immediate shift must have a value that lies in<br />

<strong>the</strong> range defined in <strong>the</strong> <strong>ARM</strong> Architecture Reference Manual, as appropriate <strong>for</strong> <strong>the</strong> shift<br />

operation.<br />

A constant expression that is used to specify an immediate offset <strong>for</strong> a memory or coprocessor<br />

data transfer instruction must have a value with suitable alignment.<br />

7.23.1 See also<br />

Concepts<br />

• Inline assembler operands in C and C++ code on page 7-25<br />

• <strong>Compiler</strong> support <strong>for</strong> inline assembly language on page 7-4.<br />

O<strong>the</strong>r in<strong>for</strong>mation<br />

• <strong>ARM</strong> Architecture Reference Manual.<br />

<strong>ARM</strong> DUI 0375C Copyright © 2007-2008, 2011 <strong>ARM</strong>. All rights reserved. 7-28<br />

ID061811<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!