The CALL instruction

Procedure call.

The CALL instruction format

InstructionDescription
CALL rel16Near procedure call with a relative displacement.
CALL reg/mem16Near procedure call to an absolute address in a register/memory.
CALL ptr16:16Far procedure call by pointer.
CALL mem16:16Far procedure call to an address in memory.

The CALL instruction transfers control to the called procedure. Before doing so, it saves the address of the instruction following CALL (the return address) on the stack. On a near call (within the same code segment) only IP is pushed onto the stack. On a far call (to another segment) both CS and IP are pushed. Return from the procedure is performed by the RET or RETF instruction.

Processor status flags

CF
No
PF
No
AF
No
ZF
No
SF
No
TF
No
IF
No
DF
No
OF
No