05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Operation<br />

if ConditionPassed() then<br />

EncodingSpecificOperations();<br />

if write_nzcvq then<br />

APSR.N = imm32;<br />

APSR.Z = imm32;<br />

APSR.C = imm32;<br />

APSR.V = imm32;<br />

APSR.Q = imm32;<br />

if write_g then<br />

APSR.GE = imm32;<br />

Exceptions<br />

None.<br />

Usage<br />

Instruction Details<br />

For details of the APSR see The Application Program Status Register (APSR) on page A2-14. Because of<br />

the Do-Not-Modify nature of its reserved bits, the immediate form of MSR is normally only useful at the<br />

Application level for writing to APSR_nzcvq (CPSR_f).<br />

For the A <strong>and</strong> R profiles, MSR (immediate) on page B6-12 describes additional functionality that is available<br />

using the reserved bits. This includes some deprecated functionality that is available in unprivileged <strong>and</strong><br />

privileged modes <strong>and</strong> therefore can be used at the Application level.<br />

<strong>ARM</strong> DDI 0406B Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. A8-209

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

Saved successfully!

Ooh no, something went wrong!