Click here to Skip to main content
15,886,788 members
Articles / Programming Languages / ASM

A Note on How Functions are Called

Rate me:
Please Sign up or sign in to vote.
5.00/5 (30 votes)
28 Jun 2023CPOL7 min read 35.1K   594   40  
This is a note on how compilers implement function calls to pass the parameters to and get the return value from the called functions.
The article explains how function calls are implemented in compilers, focusing on the example of a C program running on an X64 architecture.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
I have been working in the IT industry for some time. It is still exciting and I am still learning. I am a happy and honest person, and I want to be your friend.

Comments and Discussions