GetCurrentISA
You can use the GetCurrentISA function to get the current instruction set architecture.
ISAType GetCurrentISA (void);
DESCRIPTION
The GetCurrentISA function returns the current instruction set architecture. See "Instruction Set Architectures" on page 2-35 for a list of the values GetCurrentISA
can return.
SPECIAL CONSIDERATIONS
Currently, the GetCurrentISA function is defined as a compiler macro.
#if defined(powerc) || defined(__powerc)
#define GetCurrentISA() ((ISAType) kPowerPCISA)
#else
#define GetCurrentISA() ((ISAType) kM68kISA)
#endif
The implementation details are subject to change.