This is a collection of Intel®’ IA32® Software Developer's Manuals (URL of the day) and AMD' AMD64 Architecture Programmer's Manual together with the related specifications, application notes, white papers, and change logs. The collection aims to keep all available revisions. It was originally created by Michal Necasek, see OS/2 Museum.

If you have a public document, related to the IA32® specifications and missing from the collection, please mail it to me. The content of this URL and all sub-ULRs is available for convenient bulk download by rsync x86docs password "" (empty).

BX -- AArch32

BX

Branch and Exchange causes a branch to an address and instruction set specified by a register.

It has encodings from the following instruction sets: A32 ( A1 ) and T32 ( T1 ) .

A1

313029282726252423222120191817161514131211109876543210
!= 111100010010(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)0001Rm
condop0

Encoding

BX{<c>}{<q>} <Rm>

Decode for this encoding

let m : integer = UInt(Rm);

T1

1514131211109876543210
010001110Rm(0)(0)(0)
L

Encoding

BX{<c>}{<q>} <Rm>

Decode for this encoding

let m : integer = UInt(Rm); if InITBlock() && !LastInITBlock() then UnpredictableProcedure(); end;

For more information about the CONSTRAINED UNPREDICTABLE behavior, see Architectural Constraints on UNPREDICTABLE behaviors.

Assembler Symbols

<c>

See Standard assembler syntax fields.

<q>

See Standard assembler syntax fields.

<Rm>

For the "A1" variant: is the general-purpose register holding the address to be branched to, encoded in the "Rm" field. The PC can be used.

For the "T1" variant: is the general-purpose register holding the address to be branched to, encoded in the "Rm" field. The PC can be used.


Note

If <Rm> is the PC at a non word-aligned address, it results in UNPREDICTABLE behavior because the address passed to the BXWritePC() pseudocode function has bits<1:0> = '10'.


Operation

if ConditionPassed() then EncodingSpecificOperations(); BXWritePC(R(m), BranchType_INDIR); end;


2026-03_rel 2026-03-26 20:48:11

Copyright © 2010-2026 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.