X86-assembly/Instructions/call
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:
- It pushes the return address (address immediately after the CALL instruction) on the stack.
- It changes EIP to the call destination. This effectively transfers control to the call target and begins execution there.
Syntax
call function_name