Next | Prev | Up | Top | Contents | Index

Assembly Language Programming Guidelines

This section describes techniques for writing assembler code that can be compiled and run as either an o32 or n32 executable. These techniques are based on using certain predefined variables of the compiler, and on macros defined in <sys/asm.h> and <sys/regdef.h>, which rely on those compiler predefines. Together, they enable a fairly easy conversion of existing assembly code to run under the n32 ABI. They also allow retargeted assembler code to look fairly uniform in the way it is converted.


Predefined Variables
N32 Implications for Assembly Code

Next | Prev | Up | Top | Contents | Index