Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Mac OS Runtime Architectures /


Chapter 2 - Indirect Addressing in the CFM-Based Architecture

This chapter discusses the indirect addressing model used in the CFM-based runtime architecture. This material is presented separately as it does not relate directly to the Code Fragment Manager.

The overview section describes the fundamental concepts underlying the indirect addressing model. Everyone who is writing programs for the CFM-based architecture should read this section. In addition, this chapter provides details of how the indirect addressing model is implemented for the PowerPC and 68K Mac OS platforms. If you are writing a program that requires such low-level details (a compiler, for example) you should read these sections after the overview.

This chapter assumes knowledge of terms and concepts introduced in Chapter 1, "CFM-Based Runtime Architecture." In addition, read Chapter 3, "Programming for the CFM-Based Runtime Architecture," if you are planning to write CFM architecture-based programs.


Chapter Contents
Overview
PowerPC Implementation
Glue Code for Named Indirect Calls
Glue Code for Pointer-Based Calls
CFM-68K Implementation
Direct and Indirect Calls
The Direct Data Area Switching Method

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 MARCH 1997