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.

Assembler syntax<br />

SMLAL{S} , , , <br />

where:<br />

Instruction Details<br />

S If S is present, the instruction updates the flags. Otherwise, the flags are not updated.<br />

S can be specified only for the <strong>ARM</strong> instruction set.<br />

See St<strong>and</strong>ard assembler syntax fields on page A8-7.<br />

Supplies the lower 32 bits of the accumulate value, <strong>and</strong> is the destination register for the<br />

lower 32 bits of the result.<br />

Supplies the upper 32 bits of the accumulate value, <strong>and</strong> is the destination register for the<br />

upper 32 bits of the result.<br />

The first oper<strong>and</strong> register.<br />

The second oper<strong>and</strong> register.<br />

The pre-UAL syntax SMLALS is equivalent to SMLALS.<br />

Operation<br />

if ConditionPassed() then<br />

EncodingSpecificOperations();<br />

result = SInt(R[n]) * SInt(R[m]) + SInt(R[dHi]:R[dLo]);<br />

R[dHi] = result;<br />

R[dLo] = result;<br />

if setflags then<br />

APSR.N = result;<br />

APSR.Z = IsZeroBit(result);<br />

if ArchVersion() == 4 then<br />

APSR.C = bit UNKNOWN;<br />

APSR.V = bit UNKNOWN;<br />

// else APSR.C, APSR.V unchanged<br />

Exceptions<br />

None.<br />

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

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

Saved successfully!

Ooh no, something went wrong!