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.2 Inline assembler support in <strong>the</strong> compiler<br />

The inline assembler supports <strong>ARM</strong> assembly language only.<br />

The embedded assembler can be used <strong>for</strong> Thumb and Thumb-2 support.<br />

Most <strong>ARM</strong>v6 instructions are supported by <strong>the</strong> inline assembler.<br />

Most <strong>ARM</strong>v5 instructions are supported by <strong>the</strong> inline assembler, including generic coprocessor<br />

instructions.<br />

7.2.1 See also<br />

Concepts<br />

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

• Restrictions on inline assembler support in <strong>the</strong> compiler on page 7-6<br />

• Inline assembly language syntax with <strong>the</strong> __asm keyword in C and C++ on page 7-7.<br />

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

ID061811<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!