A conditional branch
tests a condition then changes the PC if the condition is true, for example:
The extended assembler implements several conditional branch instructions beyond the basic ones. For example:
beqz s,label # branch to label if register s == 0 # (pseudoinstruction)
The hardware does not have a machine instruction for this
It does, however, have a zero register and the
beq instruction (branch equal).