You copied the Doc URL to your clipboard.

CBZ

Compare and branch if zero to a label at a PC-relative offset, without affecting the condition flags, and with a hint that this is not a subroutine call or return.

Syntax

CBZ  Wt, label    ; 32-bit general registers
CBZ  Xt, label    ; 64-bit general registers

Where:

Wt

Is the 32-bit name of the general-purpose register to be tested, in the range 0 to 31.

Xt

Is the 64-bit name of the general-purpose register to be tested, in the range 0 to 31.

label

Is the program label to be conditionally branched to. It is an offset from the address of this instruction, in the range ±1MB.

Was this page helpful? Yes No