X86-assembly/Instructions/call

From aldeid
Jump to navigation Jump to search
You might also see: Functions
You are here:
call

Description

The call instruction is used to call a function.

The CALL instruction performs two operations:

  1. It pushes the return address (address immediately after the CALL instruction) on the stack.
  2. It changes EIP to the call destination. This effectively transfers control to the call target and begins execution there.

Syntax

call function_name

Comments