First page Back Continue Last page Overview Graphics

Common Branch Instructions


Notes:

These branch instructions branch on the state of a single flag. Branches similar to these are available on virtually all processors and should be well understood by a programmer. BHS is another name for BCC and BLO is another name for BCS.

Branch instruction jumps are offset from the current program counter. The branch operand is one byte, which means that the branch can be -128 to +127 bytes from the current value of the program counter.

When a branch location is too far away, the assembler will generate a message that an instruction is not reachable.