next up previous contents index
Next: 4 Debugging with SDCDB Up: 3 Using SDCC Previous: 3.19 Pragmas   Contents   Index


3.20 Defines Created by the Compiler

The compiler creates the following #defines:

#define Description
SDCC this Symbol is always defined
SDCC_mcs51 or SDCC_ds390 or SDCC_z80, etc depending on the model used (e.g.: -mds390
__mcs51 or __ds390 or __z80, etc depending on the model used (e.g. -mz80)
SDCC_STACK_AUTO when --stack-auto option is used
SDCC_MODEL_SMALL when --model-small is used
SDCC_MODEL_LARGE when --model-large is used
SDCC_USE_XSTACK when --xstack option is used
SDCC_STACK_TENBIT when -mds390 is used
SDCC_MODEL_FLAT24 when -mds390 is used



Bernhard Held 2003-08-29