| |||
| Home > Thumb Instruction Reference > Thumb branch instructions > BX | |||
Branch, and optionally exchange instruction set.
BXRm
where:
Rmis an ARM register containing the address to branch to.
Bit 0 of is
not used as part of the address.Rm
If bit 0 of is
clear:Rm
bit 1 must also be clear
the instruction clears the T flag in the CPSR, and the code at the destination is interpreted as ARM code.
The BX instruction causes a branch to the address
held in , and
changes instruction set to Thumb if bit 0 of Rm is
set.Rm