04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

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.

Compiler-specific Features<br />

Table 4-22 Named registers available on <strong>ARM</strong> architecture-based processors<br />

Register Character string for __asm Processors<br />

IEPSR "iepsr" Cortex-M0, Cortex-M1, Cortex-M3,<br />

Cortex-M4<br />

IPSR "ipsr" Cortex-M0, Cortex-M1, Cortex-M3,<br />

Cortex-M4<br />

MSP "msp" Cortex-M0, Cortex-M1, Cortex-M3,<br />

Cortex-M4<br />

PRIMASK "primask" Cortex-M0, Cortex-M1, Cortex-M3,<br />

Cortex-M4<br />

PSP "psp" Cortex-M0, Cortex-M1, Cortex-M3,<br />

Cortex-M4<br />

r0 to r12 "r0" to "r12" All processors<br />

r13 or sp "r13" or "sp" All processors<br />

r14 or lr "r14" or "lr" All processors<br />

r15 or pc "r15" or "pc" All processors<br />

SPSR "spsr" All processors<br />

XPSR "xpsr" Cortex-M0, Cortex-M1, Cortex-M3,<br />

Cortex-M4<br />

On targets with a VFP, the registers of Table 4-23 are also available for<br />

use with named register variables.<br />

Table 4-23 Named registers available on targets with a VFP<br />

Register<br />

Character string for __asm<br />

FPSID "fpsid"<br />

FPSCR "fpscr"<br />

FPEXC "fpexc"<br />

<strong>ARM</strong> DUI 0348C Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. 4-193<br />

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!