CALL

Call subroutine

Calls subroutine. Can be unconditional or conditional. The address of the CALL instruction is stored on the stack, this allows the RET instruction to return program flow to the instructon immediately following the CALL instruction.

CALL
mnemonic        opcode   T-states   flags CALL address    00d 00h     17      no effect

Conditional CALLs
mnemonic        opcode   T-states   flags CALL Z,address  00d 00h   17/10     no effect   call if Z flag is set CALL NZ,address 00d 00h   17/10     no effect   call if Z flag is not set

CALL C,address  00d 00h   17/10     no effect   call if C flag is set CALL NC,address 00d 00h   17/10     no effect   call if C flag is not set

CALL M,address  00d 00h   17/10     no effect   call if S flag is set CALL P,address  00d 00h   17/10     no effect   call if S flag is not set

CALL PE,address 00d 00h   17/10     no effect   call if P/V flag is set CALL PO,address 00d 00h   17/10     no effect   call if P/V flag is not set

See other instructions on Z80 instruction set page.