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.

c#
public static Opcode DJNZ(ReferenceOrOffset offset);

View source

Parameters ​

NameTypeDescription
offsetReferenceOrOffsetThe signed offset, or a reference to a label to calculate it from.

Returns ​

Opcode

Remarks ​

8 or 13 T-states.