Specify the kind of addressing to use for executable code.
Compatibility:This pragma is compatible with the following platform targets:
|
PowerPC
|
NEC V800
|
Intel x86
|
MIPS
|
Embedded 68K
|
#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:
#pragma far_code always generates 32-bit addressing, even if 16-bit addressing can be used
#pragma near_code always generates 16-bit addressing, even if data or instructions are out of range.
#pragma smart_code generates 16-bit addressing whenever possible and uses 32-bit addressing only when necessary.