From Free Software Directory
Jump to: navigation, search

ANSI-C compiler

"Small Device C Compiler" is a retargetable, optimizing ANSI C compiler. The current version targets the Intel 8051 and recently the Zilog Z80 based MCUs., but can be retargeted for other 8 bit MCUs or PICs. SDCC uses ASXXXX and ASLINK, a retargettable assembler and linker. SDCC has extensive MCU specific language extensions, which lets it effectively use the underlying hardware. The front end (parser) will be enhanced as targeted to handle language extensions for other MCUs. In addition to the MCU Specific optimizations, SDCC does a host of standard optimizations like global sub expression elimination, loop optimizations (loop invariant, strength reduction of induction variables and loop reversing), constant folding and propagation, copy propagation, dead code elimination and jump tables for 'switch' statements.


User manual available from


Download version 3.6.0 (stable)
released on 12 June 2016

VCS Checkout




LicenseVerified byVerified onNotes
License:GPLv2Janet Casey30 January 2001

Leaders and contributors

Sandeep Dutta Maintainer

Resources and communication

AudienceResource typeURI
Bug TrackingVCS Repository Webview
DeveloperMailing List Info/Archive
SupportMailing List Info/Archive
DeveloperVCS Repository Webview

Software prerequisites

This entry (in part or in whole) was last reviewed on 5 March 2017.


Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.