SDCC Compiler User Guide
- Contents
- 1. Introduction
- 2. Installing SDCC
- 3. Using SDCC
- 3.1 Standard-Compliance
- 3.2 Compiling
- 3.3 Command Line Options
- 3.3.1 Language dialect Options
- 3.3.2 Processor Selection Options
- 3.3.3 Preprocessor Options
- 3.3.4 Optimization Options
- 3.3.5 Other Options
- 3.3.6 Linker Options
- 3.3.7 MCS51 Options
- 3.3.8 DS390 / DS400 Options
- 3.3.9 Options common to all z80-related ports (z80, z80n, z180, r2k, r3ka,
r4k, r5k, r6k, sm83, tlcs90, ez80, r800)
- 3.3.10 Z80 Options (apply to z80, z80n,
z180, r2k, r3ka, tlcs90, ez80)
- 3.3.11 SM83 Options
- 3.3.12 STM8 Options
- 3.3.13 MOS6502 Options (apply
to mos6502, mos65c02)
- 3.3.14 Intermediate Dump Options
- 3.3.15 Redirecting output on Windows Shells
- 3.4 Environment variables
- 3.5 SDCC Language Extensions
- 3.6 Parameters and Local
Variables
- 3.7 Overlaying
- 3.8 Interrupt Service Routines
- 3.9 Enabling and Disabling Interrupts
- 3.10 Functions using private register banks(mcs51/ds390)
- 3.11 Inline Assembler Code
- 3.12 Support routines for integer multiplicative operators
- 3.13 Floating Point Support
- 3.14 Library Routines
- 3.15 Memory Models
- 3.16 Pragmas
- 3.17 Defines Created by the Compiler
- 4. Notes on supported Processors
- 4.1 MCS51 variants
- 4.2 DS400 port
- 4.3 The Z80, Z80N, Z180, Rabbit 2000, Rabbit 2000A, Rabbit 3000A, Rabbit
4000, Rabbit 5000, Rabbit 6000, SM83 (GameBoy), TLCS-90, eZ80, and
R800 ports
- 4.4 The HC08 and S08 ports
- 4.5 The STM8 port
- 4.6 The f8 port
- 4.7 The MOS6502 and WDC65C02 ports
- 4.8 The PIC14 port
- 4.9 The PIC16 port
- 5. Debugging
- 6. TIPS
- 7. Support
- 8. SDCC Technical Data
- 9. Compiler internals
- 10. Acknowledgments
- Index