9 FUNCTIONS
Functions—chunks of code that can be defined in one place and invoked somewhere else—are a fundamental concept in every mainstream programming language. They’re so fundamental, in fact, that there are dedicated processor instructions just for making function calls. In this chapter, you’ll implement function calls and definitions according to the standard calling convention for Unix-like systems, which defines exactly how function calls should work at the assembly level. Calling conventions make it possible for binaries ...
Get Writing a C Compiler now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.