You copied the Doc URL to your clipboard.

B.cond

Branch conditionally to a label at a PC-relative offset, with a hint that this is not a subroutine call or return.

313029282726252423222120191817161514131211109876543210
01010100imm190cond

19-bit signed PC-relative branch offset

B.<cond> <label>

bits(64) offset = SignExtend(imm19:'00', 64);

Assembler Symbols

<cond>

Is one of the standard conditions, encoded in the "cond" field in the standard way.

<label>

Is the program label to be conditionally branched to. Its offset from the address of this instruction, in the range +/-1MB, is encoded as "imm19" times 4.

Operation

if ConditionHolds(cond) then
    BranchTo(PC[] + offset, BranchType_DIR);
Was this page helpful? Yes No