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.

Table A8-3 shows how the values of , , <strong>and</strong> determine the value of the mask field.<br />

Instruction Details<br />

The conditions specified in an IT instruction must match those specified in the syntax of the instructions in<br />

its IT block. When assembling to <strong>ARM</strong> code, assemblers check IT instruction syntax for validity but do not<br />

generate assembled instructions for them. See Conditional instructions on page A4-4.<br />

Operation<br />

EncodingSpecificOperations();<br />

ITSTATE.IT = firstcond:mask;<br />

Exceptions<br />

None.<br />

Table A8-3 Determination of mask a field<br />

mask[3] mask[2] mask[1] mask[0]<br />

Omitted Omitted Omitted 1 0 0 0<br />

T Omitted Omitted firstcond[0] 1 0 0<br />

E Omitted Omitted NOT firstcond[0] 1 0 0<br />

T T Omitted firstcond[0] firstcond[0] 1 0<br />

E T Omitted NOT firstcond[0] firstcond[0] 1 0<br />

T E Omitted firstcond[0] NOT firstcond[0] 1 0<br />

E E Omitted NOT firstcond[0] NOT firstcond[0] 1 0<br />

T T T firstcond[0] firstcond[0] firstcond[0] 1<br />

E T T NOT firstcond[0] firstcond[0] firstcond[0] 1<br />

T E T firstcond[0] NOT firstcond[0] firstcond[0] 1<br />

E E T NOT firstcond[0] NOT firstcond[0] firstcond[0] 1<br />

T T E firstcond[0] firstcond[0] NOT firstcond[0] 1<br />

E T E NOT firstcond[0] firstcond[0] NOT firstcond[0] 1<br />

T E E firstcond[0] NOT firstcond[0] NOT firstcond[0] 1<br />

E E E NOT firstcond[0] NOT firstcond[0] NOT firstcond[0] 1<br />

a. Note that at least one bit is always 1 in mask.<br />

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

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

Saved successfully!

Ooh no, something went wrong!