C.BNEZ
Compressed Branch if Not Equal to Zero
C.BNEZ rs1', offset
Branches if the register is not zero.
Details
Branches to an 8-bit PC-relative offset if rs1′ is non-zero.
Pseudocode Operation
if (R[rs1'] != 0) PC += sext(offset);
Example
C.BNEZ x8, loop
Encoding
Binary Layout
111
15:13
imm
rs1'
12:10
imm
01
9:8
Operands
-
rs1'
Source -
offset
Target