[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


far_code, near_code, smart_code

Description:

Specify the kind of addressing to use for executable code.

Compatibility:

This pragma is compatible with the following platform targets:

68K

PowerPC
NEC V800
Intel x86
MIPS
Embedded 68K

Prototype:
  #pragma far_code,
#pragma near_code,
#pragma smart_code
Remarks:

This pragma applies to Mac OS on 68K and embedded 68K programming only.

These pragmas determine what kind of addressing the compiler uses to refer to functions:

For more information on these code models, see the CodeWarrior User's Guide.

These pragmas correspond to the Code Model option in the 68K Processor settings panel. The default is #pragma smart_code.


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000