PROCEDURES |
CHAPTER 6 |
6.1 The 80x86 Stack
6.2 32-Bit Procedures with Value Parameters
6.3 Additional 32-Bit Procedure Options
6.4 64-Bit Procedures
6.5 Macro Definition and Expansion
6.6 Chapter Summary
The 80x86 architecture enables implementation of procedures that are similar to those in a high-level language. In fact, 80x86 procedures can be called from high-level language programs or can call high-level language procedures. There are three main concepts involved: (1) how to transfer control from a calling program to a procedure and back, (2) how to pass parameter values to a procedure and results back from the procedure, and (3) how to write procedure code that is independent of the calling program. In addition, sometimes a procedure ...
Get Introduction to 80x86 Assembly Language and Computer Architecture, 3rd Edition 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.