For zero flag
RZ ( Return on Zero) and RNZ ( Return on no zero) Instructions
RZ returns from the subroutine to the calling program, if zero flag is set (Z= 1). The instruction format is
RZ
RNZ returns from the subroutine the calling program if zero flag is not set (Z= 0). The instruction format is
RNZ