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.

Instruction Details<br />

The register containing the element to store. It must be {}. The register Dd is encoded<br />

in D:Vd<br />

Contains the base address for the access.<br />

The alignment. It can be one of:<br />

16 2-byte alignment, available only if is 16<br />

32 4-byte alignment, available only if is 32<br />

omitted St<strong>and</strong>ard alignment, see Unaligned data access on page A3-5.<br />

! If present, specifies writeback.<br />

Contains an address offset applied after the access.<br />

For more information about , !, <strong>and</strong> , see Advanced SIMD addressing mode on page A7-30.<br />

Table A8-9 shows the encoding of index <strong>and</strong> alignment for different values.<br />

Operation<br />

if ConditionPassed() then<br />

EncodingSpecificOperations(); CheckAdvSIMDEnabled(); NullCheckIfThumbEE(n);<br />

address = R[n]; if (address MOD alignment) != 0 then GenerateAlignmentException();<br />

if wback then R[n] = R[n] + (if register_index then R[m] else ebytes);<br />

MemU[address,ebytes] = Elem[D[d],index,esize];<br />

Exceptions<br />

Undefined Instruction, Data Abort.<br />

Table A8-9 Encoding of index <strong>and</strong> alignment<br />

== 8 == 16 == 32<br />

Index index_align[3:1] = x index_align[3:2] = x index_align[3] = x<br />

omitted index_align[0] = 0 index_align[1:0] = ’00’ index_align[2:0] = ’000’<br />

== 16 - index_align[1:0] = ’01’ -<br />

== 32 - - index_align[2:0] = ’011’<br />

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

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

Saved successfully!

Ooh no, something went wrong!