Call Procedure

Encoding

EncodingOperand
iimm16/32
mModRM.r/m[rw]
pimm16+16/32

Description

The CALL instruction saves a return address on the stack before jumping to the called procedure specified in the operand.

Operation

public void CALL()
{
    // TODO
}

Flags Affected

CF (carry flag)
Affected if a task switch occurs. Unmodified otherwise.
PF (parity flag)
Affected if a task switch occurs. Unmodified otherwise.
AF (auxiliary flag)
Affected if a task switch occurs. Unmodified otherwise.
ZF (zero flag)
Affected if a task switch occurs. Unmodified otherwise.
SF (sign flag)
Affected if a task switch occurs. Unmodified otherwise.
OF (overflow flag)
Affected if a task switch occurs. Unmodified otherwise.

Exceptions

Real-Address Mode

Virtual-8086 Mode

Protected Mode

Compatibility Mode

Long Mode