b

Branch

B <label>

Unconditional branch to label.

Pseudocode Operation

PC ← PC + (SignExtend(imm26, 64) << 2)

Example

B label

Encoding

Binary Layout
0
31
00101
30:26
imm26
25:0
 
Format Branch
Opcode 0x14000000
Extension Base

Operands

  • label
    Label

Related

Other forms of b

  • b Branch (A32)

More in Base

Reference

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);