Table of Contents Previous topic Next topic
C COMPILER->Predefined Macros->Compiler Specific Predefined Macros
In addition the following compiler specific predefined macros are supported:
_XC51_VER | defined as 200 for versions 2.XX of the 8051PSDS-A and C8051NT compilers, defined as 300 for versions 3.XX of the C8051NT compiler |
_X_I51TM | defined if the memory model is Tiny |
_X_I51SM | defined if the memory model is Small (Direct and Indirect) |
_X_I51LM | defined if the memory model is Large |
_X_I51DM | defined if the memory model is Small Direct |
_X_I51NR | defined within a function if that function is non-reentrant. Outside of a function it is defined if the compiler is generating non-reentrant functions by default |
_X_LDBLE_BITS | defined as 64 for this standard version of the compiler,defined as 80 for the version that supports 80 bit long doubles |
_atbit | unless support for Tasking keywords has been disabled, _atbit is predefined as =(a)^(b). |