Skip to content

Z80Assembly.DJNZ Method

Definition

DJNZ NN — Decrement and Jump if Not Zero. Decrements B and jumps by the signed offset if B is not zero.

public static Opcode DJNZ(ReferenceOrOffset offset);

View source

Parameters

Name Type Description
offset ReferenceOrOffset The signed offset, or a reference to a label to calculate it from.

Returns

Opcode

Remarks

8 or 13 T-states.