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.

Assembler syntax<br />

SMULW {,} , <br />

where:<br />

Instruction Details<br />

Specifies which half of the source register is used as the second multiply oper<strong>and</strong>. If<br />

is B, then the bottom half (bits [15:0]) of is used. If is T, then the top half<br />

(bits [31:16]) of is used.<br />

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

The destination register.<br />

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

The source register whose bottom or top half (selected by ) is the second multiply<br />

oper<strong>and</strong>.<br />

Operation<br />

if ConditionPassed() then<br />

EncodingSpecificOperations();<br />

oper<strong>and</strong>2 = if m_high then R[m] else R[m];<br />

product = SInt(R[n]) * SInt(oper<strong>and</strong>2);<br />

R[d] = product;<br />

// Signed overflow cannot occur<br />

Exceptions<br />

None.<br />

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

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

Saved successfully!

Ooh no, something went wrong!