Appendix E. Conditional Assembly and Macros (GCC Assembler)

The paramount task of any assembler is converting mnemonic instructions and symbolic expressions into valid instructions with internally consistent addresses for all references to data, as we discussed in Chapter 3 and elsewhere. In addition, some assemblers provide numerous features intended to lessen the tedium of producing repetitious patterns of data definitions or instructions, as well as to reduce the likelihood of erroneous programming. In this appendix, we take up the topics of repeat blocks, conditional assembly, macros, and the related specific assembler directives for the GCC assembler that provide the programmer with some convenient extensions of the minimal assembly language ...

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.