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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Operation<br />

if ConditionPassed() then<br />

EncodingSpecificOperations();<br />

if write_nzcvq then<br />

APSR.N = R[n];<br />

APSR.Z = R[n];<br />

APSR.C = R[n];<br />

APSR.V = R[n];<br />

APSR.Q = R[n];<br />

if write_g then<br />

APSR.GE = R[n];<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, a read / modify / write sequence is normally needed when the<br />

MSR instruction is being used at Application level <strong>and</strong> its destination is not APSR_nzcvq (CPSR_f).<br />

For the A <strong>and</strong> R profiles, MSR (register) on page B6-14 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-211

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

Saved successfully!

Ooh no, something went wrong!