This chapter describes the differences between o32, n32, and n64 ABIs with respect to calling
convention implementations. Specifically, this chapter describes:
"Native 64-Bit (N64) and N32 Subprogram Interface for MIPS Architectures"
covers the 64-bit subprogram interface. This interface
is also used in the n32 ABI.
"Implementation Differences"
identifies differences in the 32-bit and 64-bit
implementations C programming language and explains
why it's easier to port to n32 rather than to 64 bits.
"ABI Attribute Summary"
lists the important attributes for the o32 and
n32/64-bit ABI implementations.
Chapter 3, "N32 Compatibility, Porting, and Assembly Language Programming Issues," (14 pages)
This chapter explains the levels of compatibility between
o32, n32, and 64-bit programs. It also describes the
porting procedure to follow and the changes to make when
porting your application from o32 to n32.
Specifically, this chapter discusses the following topics:
"Compatibility,"
which describes compatibility between o32, n32, and 64-bit programs.
"N32 Porting Guidelines,"
which explains guidelines for porting high-level languages.
"Assembly Language Programming Guidelines,"
which provides guidelines for writing portable assembly language code.
Chapter 4, "N32 Examples and Case Studies," (14 pages)
This chapter provides examples and case studies of programs that
have been converted from o32 to n32. Each step in the conversion
is presented and examined in detail. Examples include: