This is a mirror of the original site (arm.jonpalmisc.com), which was taken down.
Hosted on IPFS, storage on Filebase.
Compare signed less than or equal to register and branch
This instruction compares the signed values in two registers, and conditionally branches to a label at a PC-relative offset if the second value is less than or equal to 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:
| 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 | 0 | 1 | Rm | 0 | 0 | imm9 | Rt | ||||||||||||||||
| cc | |||||||||||||||||||||||||||||||
is equivalent to
is equivalent to
| <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. |
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.