Does C.BEQZ write a return address?
No; it writes no link register. When the condition is true, PC updates to the target; otherwise execution continues at pc+2.
Branch if rs1'==0 (±256B). CB format.
C.BEQZ (CB format, rs1' x8-x15 only) branches if rs1' equals zero. Sign-extended offset added to pc, ±256 B range. Expands to beq rs1',x0,offset.
This interactive model shows only architectural decode, operands, and state changes, not a pipeline, cache, or timing model.
The zero-comparison condition is true.
Awaiting state update: the highlighted fields and calculation above show the current step; no architectural result has been committed yet.
C.BEQZ uses CB format, compares restricted rs1' with implicit x0, and adds a sign-extended offset to PC when the condition is true.
Understand this scenario with real code like «c.beqz x8, 32 # if x8==0 goto pc+32».
No; it writes no link register. When the condition is true, PC updates to the target; otherwise execution continues at pc+2.