E.4. Macro Processing

The principles of good programming and the motivation to enhance programmer productivity and accuracy emphasize such concepts as abstraction, encapsulation, and controlled adaptation. Facilities accessible to the assembly language programmer include subroutines, procedures, functions, repeat blocks, macros, and lexical preprocessing.

In Chapter 7, we studied the design and uses of subroutines, procedures, and functions at the assembly language level. Only one copy of such a routine exists in the linked executable program. Control passes to the routine whenever it is called, and it produces effects that can be mediated by the particular parameters passed. Because these routines conform to a prescribed calling standard and ...

Get Itanium® Architecture for Programmers: Understanding 64-Bit Processors and EPIC Principles 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.