You copied the Doc URL to your clipboard.

BXJ

Branch and change to Jazelle state.

Syntax

BXJ{cond} Rm

where:

cond

is an optional condition code. cond is not available on all forms of this instruction.

Rm

is a register containing an address to branch to.

Operation

The BXJ instruction causes a branch to the address contained in Rm and changes the instruction set state to Jazelle.

Note

In ARMv8, BXJ behaves as a BX instruction. This means it causes a branch to an address and instruction set specified by a register.

Instruction availability and branch ranges

The following table shows the BXJ instructions that are available in A32 and T32 state. Instructions that are not shown in this table are not available.

Table 13-8 BXJ instruction availability and range

Instruction A32 T32, 16-bit encoding T32, 32-bit encoding
BXJ Rm Available - Available
BXJ{cond} Rm Available - -

Register restrictions

You can use SP for Rm in the BXJ A32 instruction but this is deprecated.

You cannot use SP in the BXJ T32 instruction.

Condition flags

The BXJ instruction does not change the flags.

Availability

See the preceding table for details of availability of the BXJ instruction in both instruction sets.

Related reference

Was this page helpful? Yes No