PIC16 port defines the following preprocessor macros while translating a source.
In addition the following macros are defined when calling assembler:
Description | |
__18Fxxxx | MCU Identification. xxxx is the microcontrol identification number, i.e. 452, 6620, etc |
__SDCC_MODEL_nnn | nnn = SMALL or LARGE respectively according to the memory model used for SDCC |
STACK_MODEL_nnn | nnn = SMALL or LARGE respectively according to the stack model used |