For the Cosmic compiler, you use equ to define equates for the inline assembly. To use an equate or value in C as well, you use #define to define it. For this compiler, only #define is needed for C and for inline assembly (refer the following listing). The equ directive is not supported in normal C code.
#ifdef __MWERKS__ #define CLKSRC_B 0x00 /*; Clock source */ #else CLKSRC_B : equ $00 ; Clock source #endif