b
Branch
B <label>
Unconditional branch to label.
Pseudocode Operation
PC ← PC + (SignExtend(imm26, 64) << 2)
Example
B label
Reference
View in Arm A64 ISA Reference ↗
Arm A64 ISA
Instruction Forms
| Encoding | Instruction | ISA | Bit pattern | ||
|---|---|---|---|---|---|
| 0x54000000 | B.<cond> <label> | A64 | 01010100 | imm19 | 0 | cond | ||
| 0x14000000 | B <label> | A64 | 0 | 00101 | imm26 |
Description
Branch causes an unconditional branch to a label at a PC-relative offset, with a hint that this is not a subroutine call or return.
Operation
BranchTo(PC64 + offset, BranchType_DIR, FALSE);