ARM / OFFLINE REFERENCE

On this page
← Home

CBLO (register)

Compare unsigned lower than register and branch

This instruction compares the unsigned values in two registers, and conditionally branches to a label at a PC-relative offset if the second value is lower than the first. This instruction provides a hint that this is not a subroutine call or return. This instruction does not affect the condition flags.

This is a pseudo-instruction of CB<cc> (register). This means:

Branch class
(FEAT_CMPBR)

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
sf 1 1 1 0 1 0 0 0 1 0 Rm 0 0 imm9 Rt
cc

32-bit higher encoding

(sf == 0)

CBLO <Wm>, <Wt>, <label>

is equivalent to

CBHI <Wt>, <Wm>, <label>

64-bit higher encoding

(sf == 1)

CBLO <Xm>, <Xt>, <label>

is equivalent to

CBHI <Xt>, <Xm>, <label>

Assembler Symbols

<Wm>

Is the 32-bit name of the second general-purpose source register, encoded in the "Rm" field.

<Wt>

Is the 32-bit name of the general-purpose register to be tested, encoded in the "Rt" field.

<label>

Is the program label to be conditionally branched to. Its offset from the address of this instruction, in the range -1024 to 1020, is encoded as "imm9" times 4.

<Xm>

Is the 64-bit name of the second general-purpose source register, encoded in the "Rm" field.

<Xt>

Is the 64-bit name of the general-purpose register to be tested, encoded in the "Rt" field.

Operation

The description of CB<cc> (register) gives the operational pseudocode for this instruction.


Version 2026.09 — Copyright © 2010-2026 Arm Limited or its affiliates.

This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.