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 />

BX <br />

where:<br />

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

Instruction Details<br />

The register that contains the branch target address <strong>and</strong> instruction set selection bit. The PC<br />

can be used.<br />

Operation<br />

Note<br />

If is the PC in a Thumb instruction at a non word-aligned address, it results in<br />

UNPREDICTABLE behavior because the address passed to the BXWritePC() pseudocode<br />

function has bits = '10'.<br />

if ConditionPassed() then<br />

EncodingSpecificOperations();<br />

BXWritePC(R[m]);<br />

Exceptions<br />

None.<br />

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

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

Saved successfully!

Ooh no, something went wrong!