SDCC is a retargettable, optimizing standard C (ANSI C89 / ISO C90, ISO C99, ISO C11 / C17, ISO C23) compiler that targets a growing list of architectures: STM8, MCS-51, DS390, HC08, S08, Z80, Z180, R800, Rabbit, SM83, eZ80 in Z80 mode, Z80N, TLCS-90, Padauk PDK14 and PDK15 microprocessors. There also is incomplete support for the Microchip PIC16 and PIC18 and the Padauk PDK13 and MOS 6502.
License
GNU General Public License version 2.0 (GPLv2), GNU General Public License version 3.0 (GPLv3)Follow Small Device C Compiler (SDCC)
You Might Also Like
Our Free Plans just got better! | Auth0 by Okta
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
-
Very nice project. I would like to use it as a replacement for non free toolchains for STM8. Works already well for medium memory model and almost for large model.
-
Sometimes you have to look for information outside the documentation, but apart from that it's a very good tool suite for developing on z80 (the only port I tried so far).
-
Thank you! Just a quick note to say 'thanks' for SDCC. Despite having a few warts here and there, it's (in my mind at least) the premiere (and in a few cases, the only) C-compiler for the targets supported. Thank you for your hard and valuable work.
-
The best open source C compiler for Z80 and the last C compiler for z80 still being currently maintained (as all the commercial alternative have been discontinued). The code generation could improve e.g. by supporting alternate registers, undocumented z80 instructions and by increasing the number of peep hole rules applied in code optimisation. Compared to hand coded ASM the code generated still is slower and bigger, but it is quickly improving and, with the last change in parameter passing, it is starting to outperform the other commercial solutions (20 years older). The assembler is very bare bone and, due to bugs and its odd opcode notation, is not the best to integrate existing libraries in C projects. Never the less you will not find anything better among opensource C compilers for z80
-
My favourite C compiler for small µCs.