jr

Operands

jr offset | jr cc,offset

The signed value offset is added to PC. The jump is measured from the start of the instruction opcode.

Loading...

Variants

Every form of jr the assembler accepts. The cycles column counts clock cycles, written as taken/not taken for the conditional forms.

InstructionDescriptionFlagsBytesCycles
jr offset

The signed value offset is added to PC. The jump is measured from the start of the instruction opcode.

212
jr nz,offset

If the zero flag is unset, the signed value offset is added to PC. The jump is measured from the start of the instruction opcode.

212/7
jr z,offset

If the zero flag is set, the signed value offset is added to PC. The jump is measured from the start of the instruction opcode.

212/7
jr nc,offset

If the carry flag is unset, the signed value offset is added to PC. The jump is measured from the start of the instruction opcode.

212/7
jr c,offset

If the carry flag is set, the signed value offset is added to PC. The jump is measured from the start of the instruction opcode.

212/7