Next: 4. SDCC Technical Data
Up: 3. Using SDCC
Previous: 3.17 DS390 Memory Models
  Contents
  Index
The compiler creates the following #defines.
- 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 - this symbol is defined 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
Johan Knol
2001-07-13