cbnz

Compare and Branch Not Zero

CBNZ <Wt>, <label>

Branches if register is not zero.

Details

The Compare and Branch Not Zero instruction branches if register is not zero.

Pseudocode Operation

IF condition THEN PC ← target

Example

CBNZ w3, label

Encoding

Binary Layout
00110101
imm19
Rt
 
Format Branch
Opcode 0x35000000
Extension Base

Operands

  • Wt
    Reg
  • label
    Label