Detailed reference for the BZ instruction in PIC18 ISA.
Branch if Zero flag (Z) is set.
; BZ target - branch taken when Z=1
BZ target ; Jump to target because Z flag is set; BZ target - branch taken when Z=1
BZ target ; Jump to target because Z flag is set; BZ target - no branch when Z=0
BZ target ; Execution continues with the next instruction; BZ target - no branch when Z=0
BZ target ; Execution continues with the next instruction; BZ end - example of a label defined later in code
BZ end ; Branch to the end label, skipping intermediate code; BZ end - example of a label defined later in code
BZ end ; Branch to the end label, skipping intermediate code