Compare and Branch on Nonzero.
label ; 32-bit general registers
label ; 64-bit general registers
Is the 32-bit name of the general-purpose register to be tested.
Is the 64-bit name of the general-purpose register to be tested.
Is the program label to be conditionally branched to. Its offset from the address of this instruction, in the range ±1MB.
Compare and Branch on Nonzero compares the value in a register with zero, and conditionally branches to a label at a PC-relative offset if the comparison is not equal. It provides a hint that this is not a subroutine call or return. This instruction does not affect the condition flags.